腾龙枪 发表于 2012-10-10 22:21

画图求助

X=sin(t),Y=cos(t),请教如何把X作为横轴Y作为纵轴画图,谢谢!

≮风の殇逝≯ 发表于 2012-10-10 23:45

t=0:0.01*pi:4*pi;%定义t
x=sin(t);
y=cos(t);
plot(x,y,'*-');

dabiu 发表于 2012-11-21 20:35

t=-pi:pi/100:pi;
x=sin(t);
y=cos(t);
plot(x,y)
页: [1]
查看完整版本: 画图求助