How to load ODE functions (ie. ODE1, ODE2) to call/reference?
古いコメントを表示
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 件のコメント
madhan ravi
2018 年 10 月 19 日
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
2018 年 10 月 19 日
madhan ravi
2018 年 10 月 19 日
ode1 is a function which is defined
CT
2018 年 10 月 19 日
回答 (1 件)
Steven Lord
2018 年 10 月 19 日
0 投票
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.
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!