Problems with ode4, ode5 and ode45
4 ビュー (過去 30 日間)
古いコメントを表示
I've an equation which works fine in high frequency with ode45. However if I decrease the frequency, ode45 starts to give me erroneous results. Ode4 and ode5 gives me correct result (error in order of 10^{-5} and lower) in both high(10^9 Hz) and low(10^5 Hz) frequency. If the equation runs for 1 cycle (linspace(0,2*pi/omega,tcount)), as the frequency decreases, I need more time steps. Since ode45 is adaptive and I cannot control the time spacing, except mentioning a particular relative and absolute tolerance (which I changed to -14 without any significant difference), I was wondering if there are any other options in odeset which I could avail.
0 件のコメント
回答 (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!