Dear all, Help needed.
显示 更早的评论
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 个评论
Image Analyst
2018-10-23
编辑:Image Analyst
2018-10-23
And, doesn't plot(y), where y is a vector of all the oscillator states at the specified time, work?
Vipin Padinjarath
2018-10-23
Vipin Padinjarath
2018-10-23
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!