発散する結果をfigureにプロットした時のグラフが外にはみ出る現象の解決方法
Show older comments
例えば以下のようなシステムのステップ応答をプロットすることを考えます。
P = tf(1,[1 1 1])
C = tf(5,[1 0])
G=C*P/(1+C*P)
step(G)
ylim([0 1])
このとき,約90秒のあたりで,プロットがグラフ外にはみ出てしまいます。
これをはみ出ないようにしたいのですが,解決方法をご存じでしょうか?
よろしくお願いいたします。
6 Comments
Hiro Yoshino
on 21 Nov 2023
ylim([0 1])
を無くしてみればどうでしょうか?
貴弘
on 21 Nov 2023
Dyuman Joshi
on 21 Nov 2023
@Hiro Yoshino, the question should be why is the output like that when we modify the y-limits?
The behaviour seems bug-ish.
Is what you meant the following?
It seems, as you mentioned, bug-ish.
P = tf(1,[1 1 1])
C = tf(5,[1 0])
G=C*P/(1+C*P)
step(G)
ylim([0 1])
Hiro Yoshino
on 21 Nov 2023
Bug-report を出しておきました。
Dyuman Joshi
on 21 Nov 2023
@Hiro Yoshino Thanks.
Answers (0)
Categories
Find more on Frequency-Domain Analysis 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!