When using "decic", error is "Not enough input arguments."

3 views (last 30 days)
Error is
Error using Equations (line 28)
Not enough input arguments.
Error in decic (line 67)
res = feval(odefun,t0,y0,yp0,varargin{:});
Error in TwoDimensions_OCM_Main (line 59)
[y02 dy02] = decic(@Equations,t0,y0,fix_y0,dy0,fix_dy0);

Answers (2)

lei shi
lei shi on 6 Oct 2015
ode15i is not easy to use I am also in trouble about ode15i. 你懂了的话 可以指导我下吗?解方程受阻很受挫啊

Walter Roberson
Walter Roberson on 8 Oct 2015
Your function Equations requires more inputs that are passed by default. What is the "function" line for Equations ?

Categories

Find more on Physics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!