How to plot bode?
2 次查看(过去 30 天)
显示 更早的评论
What is the wrong here I wrote?
0 个评论
采纳的回答
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])
figure
bode(h)
H = tf([1 0.1 7.5],[1 0.12 9 0 0])
figure
bode(H)
More details would be appropriate.
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 个评论
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 Center 和 File 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!