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

5 ビュー (過去 30 日間)
Kerry Oliveira
Kerry Oliveira 2015 年 9 月 23 日
編集済み: @Johannes 2015 年 9 月 23 日
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

回答 (1 件)

@Johannes
@Johannes 2015 年 9 月 23 日
編集済み: @Johannes 2015 年 9 月 23 日
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

カテゴリ

Help Center および File ExchangeDynamic System Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by