Bode Plot - trasnfer function

1 view (last 30 days)
Grigorie Vlad
Grigorie Vlad on 15 Nov 2019
Edited: Grigorie Vlad on 16 Nov 2019
I have the following transfer funciton : G(s) = ((1+s*10^(-3))/((s*10^(-2)*(1+s*10^(-1))*(1+s*10^(-5)))
I need to do the bode plot of magnitude and phase for this function.
So far, i've done the transformation s=jω :
G(jω) = ((1+jω*10^(-3))/((jω*10^(-2))*(1+jω*10^(-1))*(1+jω*10^(-5)))
I identified that it has :
  • one zero in ω0=1*10^(3).
  • pole in ω1= 0
  • pole in ω2= 1*10^(1)
  • pole in ω3 = 1*10^(5)
How do I do a bode plot of magnitude and phase for this function ?

Accepted Answer

Star Strider
Star Strider on 15 Nov 2019
Try this (your code slightly edited):
s = tf('s');
G = ((1+s*1E-3))/((s*1E-2)*(1+s*1E-1)*(1+s*1E-5));
bode(G) % Plot Only
[mag,phase,wout] = bode(G); % Information Only
See the documentation for the bode fucntion for details.
  2 Comments
Grigorie Vlad
Grigorie Vlad on 16 Nov 2019
Thank you very much !
Star Strider
Star Strider on 16 Nov 2019
As always, my pleasure!

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Control System Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!