How to plot bode?

조회 수: 2 (최근 30일)
Shaukhin
Shaukhin 2022년 9월 25일
댓글: Star Strider 2022년 9월 27일
What is the wrong here I wrote?

채택된 답변

Star Strider
Star Strider 2022년 9월 25일
편집: Star Strider 2022년 9월 25일
We need to know more.
If you have the Control System Toolbox (or the System Identification Toolbox, or both) licensed and installed, both of those should work.
Example —
h = tf([50 0],[1 24 180 400])
h = 50 s -------------------------- s^3 + 24 s^2 + 180 s + 400 Continuous-time transfer function.
figure
bode(h)
H = tf([1 0.1 7.5],[1 0.12 9 0 0])
H = s^2 + 0.1 s + 7.5 ---------------------- s^4 + 0.12 s^3 + 9 s^2 Continuous-time transfer function.
figure
bode(H)
More details would be appropriate.
Use the ver function to see if you have either or both of those functions.
There are also versions in the Model Predictive Control Toolbox, DSP System Toolbox and the RF Toolbox. (I have none of those, however they would not be compatible with your posted code, from their descirptions in the online documentation. They require different arguments.)
EDIT — Corrected typographical errors.
.
  댓글 수: 2
Shaukhin
Shaukhin 2022년 9월 27일
I have the system identification toolbox, but the problem was not solved!!!
Then I installed control system toolbox, the problem is solved, thanks a lot........
Star Strider
Star Strider 2022년 9월 27일
My pleasure!
If my Answer helped you solve your problem, please Accept it!
I thought those functions were common to both Toolboxes. They have the same syntax and the same documentation.
.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by