発散する結果をfigureにプロットした時のグラフが外にはみ出る現象の解決方法
Afficher commentaires plus anciens
例えば以下のようなシステムのステップ応答をプロットすることを考えます。
P = tf(1,[1 1 1])
C = tf(5,[1 0])
G=C*P/(1+C*P)
step(G)
ylim([0 1])
このとき,約90秒のあたりで,プロットがグラフ外にはみ出てしまいます。
これをはみ出ないようにしたいのですが,解決方法をご存じでしょうか?
よろしくお願いいたします。
6 commentaires
Hiro Yoshino
le 21 Nov 2023
ylim([0 1])
を無くしてみればどうでしょうか?
貴弘
le 21 Nov 2023
Dyuman Joshi
le 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
le 21 Nov 2023
Bug-report を出しておきました。
Dyuman Joshi
le 21 Nov 2023
@Hiro Yoshino Thanks.
Réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!