発散する結果をfigureにプロットした時のグラフが外にはみ出る現象の解決方法
이전 댓글 표시
例えば以下のようなシステムのステップ応答をプロットすることを考えます。
P = tf(1,[1 1 1])
C = tf(5,[1 0])
G=C*P/(1+C*P)
step(G)
ylim([0 1])
このとき,約90秒のあたりで,プロットがグラフ外にはみ出てしまいます。
これをはみ出ないようにしたいのですが,解決方法をご存じでしょうか?
よろしくお願いいたします。
댓글 수: 6
Hiro Yoshino
2023년 11월 21일
ylim([0 1])
を無くしてみればどうでしょうか?
貴弘
2023년 11월 21일
Dyuman Joshi
2023년 11월 21일
@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
2023년 11월 21일
Bug-report を出しておきました。
Dyuman Joshi
2023년 11월 21일
@Hiro Yoshino Thanks.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!