MATLAB: How to write the following functions on Matlab x(t) = 2tcos(pi*t) , y(t) = 2sin(pi*t)

cosplot

I keep getting error using * and other errors

Best Answer

t = 0:0.1:60 ;
x = 2*t.*cos(pi*t) ;
y = 2*sin(pi*t) ;
Related Question