Question: In MATLAB: ------------------------------------------------------------------------ WRITE CODE BELOW: Step 1: Write code to solve the system of ODEs given by the Lorenz system (the equation in 1c)
In MATLAB: ------------------------------------------------------------------------ WRITE CODE BELOW: Step 1: Write code to solve the system of ODEs given by the Lorenz system (the equation in 1c)
c) Define an anonymous function df3(x,y) = [10*(y(2)-y(1)); y(1)*(28-y(3))-y(2); y(1)*y(2)-8/3*y(3)]
on the interval [0,100] where f(1)=[10;10;10]. Use ODE45 for this. Step 2: Use plot3 on each column of your solution vector (f(:,1), f(:,2), f(:,3)) Step 3: Label your plot and enjoy some cool looking math! Step 4: Repeat steps 1-3 with a new intial condition of f(1)=[100;100;100] ------------------------------------------------------------------------
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
