matlab求助:x=[0,4*pi]; a=sin(x); plot(x,a); 用这个画sin函数 错在哪里?

331917748 1年前 已收到1个回答 举报

免提cmg 幼苗

共回答了14个问题采纳率:92.9% 举报

第一句错了.
改为:
x=0:0.01:4*pi;%0.01是步长.
a=sin(x);
plot(x,a);

1年前

5
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 17 q. 0.131 s. - webmaster@yulucn.com