How to load ODE functions (ie. ODE1, ODE2) to call/reference?
Show older comments
I just watched a great video by Cleve Moler using ODE1, ODE2 (I am very new to Matlab). I tried to follow the code and his video (via command window); however, I get the error 'ODE1 not found'. I am not sure how to load this function? Thank you!!
5 Comments
madhan ravi
on 19 Oct 2018
upload your code
I suspect that ODE1 and ODE2 are just the functions that Cleve Moler was providing as the first input to the ODE solver, in other words they were probably example function handles defined for that video. But as you did not give us a link to the video, this is just a guess.
CT
on 19 Oct 2018
madhan ravi
on 19 Oct 2018
ode1 is a function which is defined
CT
on 19 Oct 2018
Answers (1)
Steven Lord
on 19 Oct 2018
0 votes
On that video's page, right above the video transcript, there's a link "Related MATLAB code files can be downloaded from MATLAB Central". Did you download them? The ode1 and ode2 functions are part of that File Exchange submission.
Categories
Find more on Programming 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!