ode45 Runge Kutta

dx1/dz=0.5*beta2*x1*x4 evolution of amplitude
dx2/dz=-beta2*x5 evolution of position
dx3/dz=-beta2*x3*x4 evolution of width
dx4/dz=-4*beta2/x3^4+beta2*x4^2-gamma*x1^2/x3^2
dx5/dz=0
beta2 is dispersion of velocity group
gamma is nonlinear coefficient

3 件のコメント

Torsten
Torsten 2024 年 11 月 13 日
編集済み: Torsten 2024 年 11 月 13 日
Use "ode45" instead of a self-written code to solve your system of differential equations.
And what are your equations for x4 and x5 ?
Cris LaPierre
Cris LaPierre 2024 年 11 月 13 日
Consider taking a look at some of the other questions asked about implementing a 4th order Runge-Kutta in MATLAB.
Walter Roberson
Walter Roberson 2024 年 11 月 13 日
You still appear to be missing the equation for dx5/dz ?

サインインしてコメントする。

回答 (0 件)

質問済み:

2024 年 11 月 13 日

編集済み:

2024 年 11 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by