Bode Plot Transfer Function
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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;
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!