Plot Mag[H(j2pif)] as a function of frequency over the range of 0 to 4 KHz
Afficher commentaires plus anciens
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)
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
Catégories
En savoir plus sur Dynamic System Models dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!