iamapigtoo 发表于 2010-4-9 16:14

not enough inputs to inline function; 多维强制阻泥振动

%改写自xjzou的示范编程
clear all
%6維降階得12維
n=12
%Omega为先前定义的6*6系数矩阵
O=
%D1为先前定义的6*6系数矩阵
D=
%q为强制外力
q=inline('','t')
motion=inline('-D*]',...
't','z','flag','n','O','D','q')
options = odeset('RelTol',1e-4,'AbsTol',)
=ode45(motion,,,options,n,q,D,O)


??? Error using ==> inline.feval
Not enough inputs to inline function.

Error in ==> funfun\private\odearguments at 110
f0 = feval(ode,t0,y0,args{:});   % ODE15I sets args{1} to yp0.

Error in ==> ode45 at 171
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, ...

我应该已经将要用到的变数系数都定义完成
为何依旧显示如上错误讯息呢
先感谢各位看完
页: [1]
查看完整版本: not enough inputs to inline function; 多维强制阻泥振动