bodeoption​で位相のYlimのみ​を変更したい

上記のYlimで範囲を指定すると,ゲインと位相両方の範囲が変更されます.
位相の範囲のみを[-180, 180]に設定したい場合はどのようにすればよいでしょうか?

回答 (1 件)

Naoya
Naoya 2020 年 11 月 24 日

0 投票

bodeoptions の構造体を 以下の様に p とすると、 YLim を 1x2 のセル配列として定義すると振幅側と位相側の Y軸範囲を別々に設定することができます。
>> p = bodeoptions;
>> p.YLim = {[-30 10],[-180 180]};
>> h = bodeplot(tf(1,[1,1]),p);

質問済み:

2020 年 11 月 18 日

回答済み:

2020 年 11 月 24 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!