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

5 vues (au cours des 30 derniers jours)
Kerry Oliveira
Kerry Oliveira le 23 Sep 2015
Modifié(e) : @Johannes le 23 Sep 2015
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

Réponses (1)

@Johannes
@Johannes le 23 Sep 2015
Modifié(e) : @Johannes le 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

Community Treasure Hunt

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

Start Hunting!

Translated by