Plot Mag[H(j2pif)] as a function of frequency over the range of 0 to 4 KHz

4 views (last 30 days)
I'm not sure how to do this. The next part of the question asks for the 3-dB cutoff frequency of the filter, so I'm guessing I need the Bode plot? Can anyone help with this? I've initialized H = tf(b,a) because a and b are defined as matricies earlier in the script. Then I said bode(H), but I'm not sure how to include the j2pif bit.
thanks

Answers (1)

@Johannes
@Johannes on 23 Sep 2015
Edited: @Johannes on 23 Sep 2015
Hello,
you can use the command "bode(H,{wmin,wmax})" where wmin (=2pifmin) and wmax are your boundaries to plot the diagram over your desired borders. To learn more aboute bode: http://www.mathworks.com/help/control/ref/bode.html
Regrads, John

Categories

Find more on Dynamic System Models 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!