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 CenterFile Exchange에서 Analyze Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by