Code covered by the BSD License  

Highlights from
Lorenz '96 model

4.0

4.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 1.54 KB File ID: #25054

Lorenz '96 model

by Javier Amezcua

 

17 Aug 2009

Lorenz/Emmanuel 1996 chaotic model usually used to test data assimilation systems.

| Watch this File

File Information
Description

X = lorenz4D(tf,F,pert)

In general, the Lorenz model is: (cyclical)
dX[j]/dt=(X[j+1]-X[j-2])*X[j-1]-X[j]+F
We use
J=40; %the number of variables
h=0.05; %the time step, equivalent to 6 hours

For the imput: tf is final time, F is the perturbation generally chosen to be 8 and pert is the perturbation (in the 20th variable) which is of the order of 10^-3.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
20 Aug 2009 Javier Amezcua

By the way, the model is solved using Runge-Kutta 4 step method.

28 Sep 2011 Mike  
28 Sep 2011 Mike

needs "nargin" early on in case someone doesn't know default parameters.

needs global used to relate changes in J in main program to J values in subroutines.

Why not use the built-in ode45?

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
chaos Javier Amezcua 18 Aug 2009 10:10:55
data assimilation Javier Amezcua 18 Aug 2009 10:10:56
meteorology Javier Amezcua 18 Aug 2009 10:10:56

Contact us at files@mathworks.com