% Perform cubic spline interpolations of x and y with respect to t, % and plot x and y against one another. % x and y should be pre-set, and same length as t. t =1:11; tt=1:0.1:11; xx=spline(t,x,tt); yy=spline(t,y,tt); plot(xx,yy)