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

1 visualización (últimos 30 días)
Kerry Oliveira
Kerry Oliveira el 23 de Sept. de 2015
Editada: @Johannes el 23 de Sept. de 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

Respuestas (1)

@Johannes
@Johannes el 23 de Sept. de 2015
Editada: @Johannes el 23 de Sept. de 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