x=0:0.01:10; figure y=(x.^2)+(3*x)-1 z=(2*x)+4 plot(x,y,x,z) figure subplot(1,2,1) y=sin(x) plot(x,y) subplot(1,2,2) y=cos(x) plot(x,y) figure y=(x.^3) z=tan(x) plot(x,y,x,z) figure subplot(1,4,1) y=log10(x) plot(x,y) subplot(1,4,2) y=log(x) plot(x,y) subplot(1,4,3) y=1*x.^-1 plot(x,y) subplot(1,4,4) y=1*x.^-2 plot(x,y)