马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
dydt该怎么改阿?
附件中程序(我试着改了还不行啊)
高手帮忙改改好吗
运行时总提示:
>> Warning: Obsolete syntax. Use ode45(fun,tspan,y0,...) instead.
(Type "warning off MATLAB:odearguments:ObsoleteSyntax" to suppress this warning.)
> In D:\MATLAB6p5\toolbox\matlab\funfun\private\odearguments.m at line 39
In D:\MATLAB6p5\toolbox\matlab\funfun\ode45.m at line 155
In C:\Documents and Settings\Administrator\桌面\yjhaasystem\yjhaaSystem.m at line 23
??? Error using ==> d:/matlab6p5/toolbox/matlab/funfun/private/odearguments
Solving YJHBB requires an initial condition vector of length 23.
Error in ==> D:\MATLAB6p5\toolbox\matlab\funfun\ode45.m
On line 155 ==> [neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, args, ...
Error in ==> C:\Documents and Settings\Administrator\桌面\yjhaasystem\yjhaaSystem.m
On line 23 ==> [t,y] = ode45('yjhbb',tn,1,y0); % ode45 solution |