function f=lorenzflow(t,x)

%Beraknar hogerledet for Lorenz differentialekvation.

sigma=10; rho=28; beta=8/3;

f=[-sigma sigma 0
   rho-x(3) -1 0
   x(2) 0 -beta]*x;
