Bode Plot Transfer Function

조회 수: 9 (최근 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개)

카테고리

Help CenterFile Exchange에서 Get Started with Control System Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by