Change rlocus() axis units to Hz?
20 ビュー (過去 30 日間)
古いコメントを表示
How can I change the plotted rlocus() real axis units to Hz, vs rad/s?
I tried Property Editor --> clicking on X axis --> More Properties --> Units --> Frequency field --> Hz, but didn't seem to change the plot.
I tested with a single pole at -10, plotting 1/(s+10), and the pole remained at -10 regardless of Hz or Rad/s setting.
0 件のコメント
採用された回答
Star Strider
2023 年 3 月 24 日
編集済み: Star Strider
2023 年 3 月 25 日
sys = tf([2 5 1],[1 2 3]);
hrlp = rlocusplot(sys);
opts = getoptions(hrlp)
setoptions(hrlp, 'FreqUnits','Hz')
Second, it doesn’t display frequency values or units, although you can certainly set them. (The same options are available on other plot functions. For a full list of the available plot functions, see the setoptions documentation section p.)
EDIT — (25 Mar 2023 at 10:48)
Clarified code. No substantive changes.
.
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Classical Control Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!