plot作图问题。
显示 更早的评论
n=8;k1=200;k2=500;
for i=1:n
plot([cos((i-1)*pi/n),-cos((i-1)*pi/n)],...
[sin((i-1)*pi/n),-sin((i-1)*pi/n)],'k-','LineWidth','2');
end
这种语法提示,plot不是数值标量,请问该怎么解决?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 二维图和三维图 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!