求助:请教一下如何解决这个错误(ode45解微分方程)
function jiezhuanhua01x0=;
=ode45(@zhuanhuan01,,x0)
function F=zhuanhuan01(t,x)
W=importdata('fangcheng.mat') %调用的是下面存储的方程
F=inline(W)
function cunchu
syms a b c d
W=;
save fangcheng W
出错信息是:??? Error using ==> funfun\private\odearguments
Solving ZHUANHUAN01 requires an initial condition vector of length 1.
Error in ==> ode45 at 171
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, ...
Error in ==> jiezhuanhua01 at 3
=ode45(@zhuanhuan01,,x0)
求求那位大侠帮帮忙解决一下。小弟感激不尽啦!
补注:上面的方程是一微分方程
[ 本帖最后由 liushuiwuxin 于 2009-5-19 18:24 编辑 ]
页:
[1]