Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 249 Bytes
function [ dxyz ] = lorenz( t, xyz )
sigma = 10;
beta = 8/3;
rho = 28;
dxyz = zeros(3,1);
dxyz(1) = sigma*(xyz(2) - xyz(1));
dxyz(2) = xyz(1)*(rho - xyz(3)) - xyz(2);
dxyz(3) = xyz(1)*xyz(2) - beta*xyz(3);
end