Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to plot Bode diagram with straight line approximation?

Tags:

matlab

If I use the bode (tf(num,den)) function to plot the Bode diagram I get a curved version. Is it possible to get a straight line version (as if you would calculate by hand)? Also, would it be possible to show the component lines that make the Bode diagram?

Thanks in advance!

like image 923
user3484582 Avatar asked Nov 01 '22 02:11

user3484582


1 Answers

What you want is called Asymptotic Bode Diagram.

Matlab does not sketch the Bode plot, it evaluates the transfer function at various frequencies and draw modulus and phase on the two diagrams.

I found a script in matlab central, I didn't try it but maybe it is enough for you.

Greetings,

Nicola

like image 92
NicolaSysnet Avatar answered Nov 15 '22 09:11

NicolaSysnet