Plot a system of ODE, not against time
Show older comments
Hi, I'm wanting to plot a graph of x(3) against x(1) witht the following code, bit I can't see how I can do this without plotting them aganist time
my code so far is
function [T,X] = fig7a()
tspan=[0 150];
x2_0=0;
x4_0=0;
x5_0=1;
[T_1,X1] = ode15s(@odesys1,tspan,[ x2_0 x4_0 x5_0]);
plot(T_1,X1(:,1))
end
with odesys1 as another document with a system of 5 ode
Accepted Answer
More Answers (0)
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!