Question: . Write a function M-file that implements (L4.8) in the interval 0 st s 35. Note that the initial condition must now be in the
. Write a function M-file that implements (L4.8) in the interval 0 st s 35. Note that the initial condition must now be in the form [yo,vo,wo] and the matrix Y, output of ode45, has now three columns (from which y, v and w must be extracted). On the same figure, plot the three time series and, on a separate window, plot the phase plot using figure (2); plot3(y,v,w, 'k.-); grid on; view(C-40,60]) xlabel('y') yabel('v-y") zlabel'w-y); Do not forget to modify the function defining the ODE. The output is shown in Fig. LAi. The limits in the vertical axis of the first plot were set using the MATLAB command ylim([-1.5,1.5]). Include the M-file in you report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
