% Perform polynomial 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; cx = polyfit(t,x,length(t)-1); cy = polyfit(t,y,length(t)-1); t = 1:0.1:11; polyx = polyval(cx,t); polyy = polyval(cy,t); plot(polyx,polyy)