|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
Error using ==> vertcat
All rows in the bracketed expression must have the same
number of columns.
Error in ==> tc>xj2 at 98
x_name=[x1;x2;x3;x4;x5;x6;x7;x8;x9;x10;x11;x12;x13;x14;x15;x16;x17:x18];
Error in ==> funfun\private\odearguments at 110
f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0.
Error in ==> ode45 at 173
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, ...
Error in ==> tc at 4
[t,y]=ode45(@xj2,[0:0.001:20],[0.1,0.1,0.1,0.1,-0.1,-0.1,-0.1,-0.1,1,1,0.2,-0.6,1,-0.3,-0.5,0.6,2,-2]);
我明明已经设置了18个初始值,但不知道为什么还是错误!!
请教大家. |
|