フィルターのクリア

query regarding n in the equation

1 回表示 (過去 30 日間)
moonman
moonman 2011 年 10 月 29 日
I have implemented this equation in matlab
In equation
h[n] = (2/L) cos ( 2 π fb n / fs ), 0≤ n < L
where L is filter length, fb center frequency of the filter (frequency to be filtered), n is number of filter points, and fs is sampling frequency on which filter is implemented.
What we mean by Filter Points (n). Can u kindly explain What is difference between L and n
And i hope that Filter length means order of Filter. Am i right??

採用された回答

Wayne King
Wayne King 2011 年 10 月 29 日
L here is the length of the impulse response. n is the term in the sequence. The order of the filter is the length-1. That is because the first term in the z-transform is z^{0} for a causal filter. That means for length L, the highest term is z^{-(L-1)}. So the filter is order L-1.

その他の回答 (1 件)

moonman
moonman 2011 年 10 月 29 日
King i am really grateful to u for ur precise and to the point answers

カテゴリ

Help Center および File ExchangeFrequency Transformations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by