|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
y0=[0;0;0;0]; % Initial conditions stored in a column vector
tn = 1300/55.5556;
[t,y] = ode45('yyys',tn,y0);
??? In an assignment A(I) = B, the number of elements in B and
I must be the same.
Error in ==> D:\毕业设计\MATLAB\隔振系统程序\yyys.m
On line 5 ==> y(4)=(k1*u+k*u-k*y(1)-k1*y(3))/m;
Error in ==> D:\Matlab\toolbox\matlab\funfun\private\odearguments.m
On line 104 ==> f0 = feval(ode,t0,y0,args{:});
Error in ==> D:\Matlab\toolbox\matlab\funfun\ode45.m
On line 155 ==> [neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, args, ...
这个是出了什么错啊? |
|