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 comentarios

Torsten
Torsten el 13 de Nov. de 2024
Editada: Torsten el 13 de Nov. de 2024
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 el 13 de Nov. de 2024
Consider taking a look at some of the other questions asked about implementing a 4th order Runge-Kutta in MATLAB.
Walter Roberson
Walter Roberson el 13 de Nov. de 2024
You still appear to be missing the equation for dx5/dz ?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 13 de Nov. de 2024

Editada:

el 14 de Nov. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by