> 其他 >
matlab求助:x=[0,4*pi]; a=sin(x); plot(x,a); 用这个画sin函数 错在哪里?
人气:221 ℃ 时间:2019-11-01 12:01:41
解答
第一句错了.
改为:
x=0:0.01:4*pi;%0.01是步长.
a=sin(x);
plot(x,a);
推荐
猜你喜欢
© 2026 79432.Com All Rights Reserved.
电脑版|手机版