各位xdjm,小弟目前在自学MATLAB,自己编了一个范德波尔方程,求解数值,可是遇到下列问题,请求支援,多谢各位
mu=20;
[x,y]=ode45(@f0506,[0,20],[2;0],mu);
plot(x,y);
function y=f0506(x,y);
y=[y(2);(1-y(1).^2)*y(2)-y(1)];
??? Error using ==> feval
Undefined command/function 'f0506'.
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, ...


雷达卡





京公网安备 11010802022788号







