Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a function M - file that implements ( 8 ) in the interval 0 t 6 0 . Note that the initial condition must

Write a function M-file that implements (8) in the interval 0t60. Note that the initial
condition must now be in the form y0,v0,w0 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);
hold on; view ([-40,60])
xlabel('y'); ylabel('v=y'''); zlabel('w=y''''');
Do not forget to modify the function defining the ODE.
The output is shown in Figure 9. The limits in the vertical axis of the plot on the left were delib-
erately set to the same ones as in Figure 8 for comparison purposes, using the MATLAB command
ylim?([-2.8,2.8]).
You can play around with the 3D phase plot, rotating it by clicking on the circular arrow button
in the figure toolbar, but submit the plot with the view value view ([-40,60])(that is, azimuth
=-40, elevation =60.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions