谢谢happy!!
那里错了?
说具体点好吗?
附件中程序(我试着改了还不行啊)
高手帮忙改改好吗
运行时总提示:
>> 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 |