function psin %plots the sin x=0:0.01:10; plot(x,sin(x));