When using "decic", error is "Not enough input arguments."
Show older comments
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
on 6 Oct 2015
0 votes
ode15i is not easy to use I am also in trouble about ode15i. 你懂了的话 可以指导我下吗?解方程受阻很受挫啊
Walter Roberson
on 8 Oct 2015
0 votes
Your function Equations requires more inputs that are passed by default. What is the "function" line for Equations ?
2 Comments
Wu
on 8 Oct 2015
Walter Roberson
on 8 Oct 2015
Please show the source code for Equations.m
Categories
Find more on Ordinary Differential Equations 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!