Fixed Step Runge-Kutta

Operates just like ode45 or ode23 except it uses the Runge-Kutta 4 algorithm
ダウンロード: 584
更新 2015/3/16

ライセンスの表示

This code works very similarly to the ode45, ode23, etc family except it uses the fixed step RK4 algorithm. The inputs are the function handle, the time span, initial conditions and timestep. The extraparameters variable can be used to pass extra information to the derivatives routine rather than using globals. next is a number between 1 and 100 in order to notify the user of the simulations progress. If the variable quat = 'Quat' the simulation will normalize the quaternions assuming the states are (x,y,z,q0,q1,q2,q3,u,v,w,p,q,r).

引用

Carlos Montalvo (2024). Fixed Step Runge-Kutta (https://www.mathworks.com/matlabcentral/fileexchange/50061-fixed-step-runge-kutta), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersRunge Kutta Methods についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

I changed the title of the project to something more intuitive. (Change from odeRK4 - to Runge-Kutta 4)

1.0.0.0