Input arguments error on line 2
Show older comments
I am getting input arguments error on line 2 of the function
3 Comments
Andy
on 21 Oct 2020
What data are you trying to pass to the function?
Does the error happen with different data?
Ameer Hamza
on 21 Oct 2020
Why are you calling ode45 inside the ODEfun and using ODEfun as a function handle. This will not work and cause infinite recursion.
drummer
on 21 Oct 2020
where is W being used?
Accepted Answer
More Answers (1)
Ameer Hamza
on 21 Oct 2020
How are you running this function? You need to pass input aguments to get an output
out = ODEfun(0, 1)
Categories
Find more on Systems of Nonlinear 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!