24小时热门版块排行榜    

查看: 986  |  回复: 4
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

hailiang

金虫 (正式写手)

[求助] 请教MATLAB中下面的提示是什么意思?

请教MATLAB中下面的提示是什么意思?

In an assignment  A(I) = B, the number of elements in B and I must be the same.

Error in hlduffing (line 5)
dy(2)=f*cos(0.8*t)-0.2*y(2)-y(1)-y(1)^3;

Error in odearguments (line 88)
f0 = feval(ode,t0,y0,args{:});   % ODE15I sets args{1} to yp0.

Error in ode45 (line 114)
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, odeFcn, ...

Error in hltest2013 (line 7)
[t,y]=ode45('hlduffing',t0,[1;1])
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

libralibra

至尊木虫 (著名写手)

骠骑将军

【答案】应助回帖


感谢参与,应助指数 +1
csgt0: 金币+1, 谢谢 2013-03-08 11:13:20
CODE:
In an assignment  A(I) = B, the number of elements in B and I must be the same.

A(I) = B赋值时,I和B的长度必须相等
不能把3个数赋值给2个数,也不能把2个数赋值给3个数,等等
matlab/VB/python/c++/Java写程序请发QQ邮件:790404545@qq.com
2楼2013-03-08 00:25:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 hailiang 的主题更新
信息提示
请填处理意见