Dear all, Help needed.

3 ビュー (過去 30 日間)
Vipin  Padinjarath
Vipin Padinjarath 2018 年 10 月 23 日
コメント済み: Vipin Padinjarath 2018 年 10 月 23 日
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 件のコメント
Vipin  Padinjarath
Vipin Padinjarath 2018 年 10 月 23 日
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 2018 年 10 月 23 日
Yeah! I got it. I set the axis values, and it works exactly the way I wanted. Thank you very much.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by