to plot Magnitude of a system versus angular frequency

1 回表示 (過去 30 日間)
Sourav Kumar
Sourav Kumar 2017 年 8 月 23 日
コメント済み: Star Strider 2017 年 8 月 25 日
sir\mam, i want to plot Magnitude of a system (in 's') versus omega(angular frequency) for my study analysis; so please guide me for the same; for eg: plotting sys= 1/(s + 2) ; now plotting its Magnitude versus angular frequency

採用された回答

Star Strider
Star Strider 2017 年 8 月 23 日
The easiest way:
s = tf('s');
sys= 1/(s + 2);
figure(1)
bode(sys)
See the documentation on the bode (link) function for details. (If you want to change the plot properties, you cannot in the plot bode produces. You have to get the magnitude, phase, and frequency as outputs from bode. You can then use subplot to plot them as you want them.)
  6 件のコメント
Sourav Kumar
Sourav Kumar 2017 年 8 月 25 日
thanks a lot sir
Star Strider
Star Strider 2017 年 8 月 25 日
My pleasure.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnalyze Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by