Bode Plot Transfer Function

6 ビュー (過去 30 日間)
Joseph Mohane
Joseph Mohane 2018 年 10 月 5 日
コメント済み: Joseph Mohane 2018 年 10 月 5 日
Hi Friends,
How do I only plot the magnitude of a transfer function something like this.
s^4 + s^2 + 1
------------------------------------------
s^4 + 2 s^3 +3 s^2 + 4 s + 1
I am interesting in seeing the magnitude plot only.Thank you.

採用された回答

Dimitris Kalogiros
Dimitris Kalogiros 2018 年 10 月 5 日
Here you are:
close all
clearvars
s=tf('s')
H=(s^4+s^2+1)/(s^4+2*s^3+3*s^2+4*s+1)
opts = bodeoptions('cstprefs');
opts.PhaseVisible = 'off';
bodeplot(H, opts );
grid on; zoom on;
  1 件のコメント
Joseph Mohane
Joseph Mohane 2018 年 10 月 5 日
Thank you very much.

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by