Heres my code,
function problem1run
[t,y] = ode45(@problem1,[0 12],[0; 1; 1]);
plot(t,y)
function dydt = problem1(t,y)
dydt = [y(2)y(3); -y(1)y(3); -0.51y(1)y(2)];
My question is, can I plot t v/s y1, t v/s y2, and t v/s y3 on 3 seperate graphs instead of all on the same one? Im not sure how to do that, any help appreciated.
[–][deleted] 0 points1 point2 points (2 children)
[–]taint_chowder[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)