x=0:0.1:5*2*pi; y=x.*sin(x); plot(x,y)