Dear all, Help needed.

3 vues (au cours des 30 derniers jours)
Vipin  Padinjarath
Vipin Padinjarath le 23 Oct 2018
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 commentaires
Vipin  Padinjarath
Vipin Padinjarath le 23 Oct 2018
Wow! I didn't knew that its that simple. Yeah, it works. But with a problem. The y axis resets automatically according to the values in the vector y. I need to plot it between 0 and 1 at all time steps I need.
Vipin  Padinjarath
Vipin Padinjarath le 23 Oct 2018
Yeah! I got it. I set the axis values, and it works exactly the way I wanted. Thank you very much.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by