标题:弱弱的问,关于plot函数的应用
取消只看楼主
wbggs
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-4-9
 问题点数:0 回复次数:0 
弱弱的问,关于plot函数的应用

figure
hold on
[JU]=1:1:10
[U]=1:1:10
for i=1:1:10
if JU(i)<=5
U(i)=20;
else
a=func(JU(i))
U(i)=a;
end
end
plot(JU,U,'r')
hold off


提示错误:??? Attempt to execute SCRIPT plot as a function.

Error in ==> JUBUxian at 24
plot(JU,U,'r')


为什么啊?

搜索更多相关主题的帖子: plot 函数 应用 Attempt hold 
2006-05-17 22:48



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-65130-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.495111 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved