Matlab_15Nisan
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
clc;<br />
x=0:0.1:10<br />
y=0:0.2:8<br />
[X,Y]=meshgrid(x,y)<br />
Z=X+Y;<br />
%iv<br />
contour(Z)<br />
colormap bone<br />
15<br />
Nisan<br />
2015<br />
clc;<br />
x=0:0.1:5<br />
y=0:0.2:4<br />
[X,Y]=meshgrid(x,y)<br />
z=X.^2+Y.^2<br />
subplot(2,2,1)<br />
surf(Z)<br />
subplot(2,2,2)<br />
surface(Z)<br />
subplot(2,2,3)<br />
mesh(Z)<br />
subplot(2,2,4)<br />
contour(Z)<br />
colormap summer<br />
ÖRNEK(c): Bir önceki örneğin Z=(sin(x/2)+cos(y/3) fonksiyonu ile yapımı..<br />
clc;<br />
x=0:0.1:5<br />
y=0:0.2:4<br />
[X,Y]=meshgrid(x,y)<br />
Z=sin(X/2)+cos(Y/3)<br />
subplot(2,2,1)<br />
surf(Z)<br />
subplot(2,2,2)<br />
surface(Z)<br />
4 | K O D Y A