function v=ipoleval(t,y,x)
% Evaluate interpolating polynomial through points (t(i),y(i)) at
% points passed in x (evaluation points)
p = polyfit(t,y,length(y)-1); v=polyval(p,x);
