9 Nisan 2010 Cuma

Matlab ile Altıgen,Sekizgen,Ongen,Paralelkenar ve Parabol Çizme

m5

%www.ethemsulan.com
x=0:pi/100:2*pi;
subplot(3,3,1)
hold on
plot(sin(x),cos(x))
x1=0:pi/4:2*pi;
y=x1;
hold on
plot(sin(x1),cos(y))
grid on
x2=0:pi/3:2*pi;
subplot(3,3,2)
hold on
plot(sin(x2),cos(x2))
plot(sin(x),cos(x))
x2=0:pi/2:2*pi;
subplot(3,3,3)
hold on
plot(sin(x2),cos(x2))
plot(sin(x),cos(x))
x2=0:pi/5:2*pi;
subplot(3,3,4)
hold on
plot(sin(x2),cos(x2))
plot(sin(x),cos(x))
x2=0:pi/6:2*pi;
subplot(3,3,5)
hold on
plot(sin(x2),cos(x2))
a=0:pi/100:pi;
subplot(3,3,6)
hold on
plot(sin(a),cos(a))
a=0:pi/100:pi;
subplot(3,3,7)
hold on
plot(cos(a),sin(a))
a=0:pi/100:pi;
subplot(3,3,8)
hold on
plot(cos(a),-sin(a))
a=0:pi/100:pi;
subplot(3,3,9)
hold on
plot(-sin(a),cos(a))

Not: Vize sorusu

Hiç yorum yok:

Yorum Gönder