Search code examples
matlabtransfer-function

MATLAB - Bode plot


How to plot the following transfer function?

pic

A = 5;
num = [A];
den = [];
fun = tf(num, den);
bode(fun);

How to input the bottom line?


Solution

  • s= tf([1 0],1) % s contains the tf object with `s` transfer function
    system= 5/(1+s/w1)/(1+s/w2)/(1+s/w3) % this works due to the operator overloading
    bode(system)