31.03.2015 Views

Matlab18mart

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

clc;<br />

clear;<br />

x=0:pi/30:2*pi;<br />

subplot(2,2,1)<br />

plot(x,sin(x));<br />

subplot(2,2,2)<br />

plot(x,cos(x));<br />

subplot(2,2,3)<br />

plot(x,tan(x));<br />

subplot(2,2,4)<br />

plot(x,cot(x));<br />

clc;<br />

clear;<br />

x=0:pi/30:2*pi;<br />

subplot(2,3,1:3)<br />

plot(x,sin(x));<br />

subplot(2,3,4)<br />

plot(x,cos(x));<br />

subplot(2,3,5)<br />

plot(x,tan(x));<br />

subplot(2,3,6)<br />

plot(x,cot(x));<br />

clc;<br />

clear;<br />

x=0:pi/30:2*pi;<br />

subplot(4,5,[1,2,3,6,7,8,11,12,13])

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!