cutoff freq of butterworth filter
57 ビュー (過去 30 日間)
古いコメントを表示
Cutoff frequency is that frequency where the magnitude response of the filter is sqr(1/2). For butter, the normalized cutoff frequency Wn must be a number between 0 and 1, where 1 corresponds to the Nyquist frequency, π radians per sample.
[b,a]=butter(n,Wn)
my fs=40 fc=9
so my wn= 9/40 or wn=9/(40/2) ?
can you explain? than you very juch
0 件のコメント
採用された回答
Wayne King
2012 年 11 月 26 日
編集済み: Wayne King
2012 年 11 月 27 日
To convert from frequency in Hz to normalized frequency divide the desired cutoff frequency in Hz by 1/2 the sampling rate.
So if your sampling rate is 40 Hz, then a cutoff frequency of 9 Hz is
9/(40/2)
For normalized frequency multiplication by pi is implied so 0.5 is really 0.5*pi or pi/2 radians/sample. Note that pi/2 radians/sample is 1/4 cycle/sample multiply that by 40 samples/sec and you get 10 cycles/sec or 10 Hz. Therefore a normalized frequency of 0.5(pi) is equal to 10 cycles/sec with a sampling frequency of 40 Hz.
7 件のコメント
Kenny
2018 年 11 月 7 日
Hello Wayne. Many years late here. But .... could you please explain "For normalized frequency multiplication by pi is implied" ? Why is multiplication by 'pi' implied? What's the origins of that? Thanks Wayne.
George James
2018 年 11 月 24 日
yes, I wish somebody could answer this. Ive never found an answer before. I second this question
その他の回答 (1 件)
BHAVATHA BALIGA
2017 年 11 月 10 日
If I hav a pre generated wave how to get it's cut off and sampling frequency??
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!