is there something wrong with my program?
3 ビュー (過去 30 日間)
古いコメントを表示
Im solving a ODE equation with ode15s in in space, voltage and time, with 801 nodes. How long should i expect matlab to take to solve this? Because at the moment it has been upwards of 20 minutes?
0 件のコメント
採用された回答
Walter Roberson
2013 年 4 月 26 日
Could be hours. You might want to interrupt it and recode slightly with an options parameter that requests plotting as it goes so that you can see the progress.
2 件のコメント
Walter Roberson
2013 年 4 月 26 日
notice the calling forms that have "options" as a parameter, and note "You can create options using the odeset function". Over at odeset, you want the "Solver Output Options" section, http://www.mathworks.com/help/matlab/ref/odeset.html#f92-1016858. You probably want 'OutputFcn', and you might want to use @odeplot as your choice. You might want to specify 'OutputSel' to be selective about what you plot.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!