Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you help me fix this error? im trying to plot the solution of a system of differential equations (not plotting the general solution) this

image text in transcribed
can you help me fix this error? im trying to plot the solution of a system of differential equations (not plotting the general solution)
image text in transcribed
this is my full code
image text in transcribed
i also have the ode defined in a separate function file like this.
e2 = evec (:,2); yi = x; 9 e1 y2 2*x; % e2 7 - x = -5:5; 8 9 figure(4) - plot(x, y1); % eigenvector 1 31 hold on 12 plot(x,y2); % eigenvector 2 43 44 % Solve the system and plot 45 dxdt = @(t,x) [4*X(1)-X(2); 2*X(1) +X(2)]; 46 (t, x) = ode45 (dxdt, tspan,x); 47 plot(t, x) 48 hold on 49 50 51 -

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

Step: 3

blur-text-image

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions