Dear all, Help needed.
Show older comments
I have a data which I have generated as a solution to an ODE. It contains information about the states of 10 oscillators at various time steps. Now I need to plot the ith oscillator in the x-axis at a particular time step(eg. at t=2S) against the possible value of its state. On the y axis I have the range of numerical values for the states (0 to 1). That means I need the oscillator index(1,2,3 corresponds to the respective oscillator) against their states in the y-axis. For example at t=2S, if the state of oscillator 3 is 0.7, I need for x=3 on x-axis, y=0.7. Thank you in advance.
3 Comments
Image Analyst
on 23 Oct 2018
Edited: Image Analyst
on 23 Oct 2018
And, doesn't plot(y), where y is a vector of all the oscillator states at the specified time, work?
Vipin Padinjarath
on 23 Oct 2018
Vipin Padinjarath
on 23 Oct 2018
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!