Dear all, Help needed.
Mostrar comentarios más antiguos
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 comentarios
Image Analyst
el 23 de Oct. de 2018
Editada: Image Analyst
el 23 de Oct. de 2018
And, doesn't plot(y), where y is a vector of all the oscillator states at the specified time, work?
Vipin Padinjarath
el 23 de Oct. de 2018
Vipin Padinjarath
el 23 de Oct. de 2018
Respuestas (0)
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!