MATLAB Answers

how to implement an FIR bandpass filter element vice

2 ビュー (過去 30 日間)
sajid ali
sajid ali 2016 年 11 月 13 日
回答済み: Star Strider 2016 年 11 月 13 日
i wanna implement an fir bandpass filter in matlab, which filters a given signal element vise. code should contain a loop which feeds the samples one‐by‐one into the filter as if the signal is acquired in real time. any help will be appreciated . the function should look like. value myFIR(value, coefficients)

回答 (1 件)

Star Strider
Star Strider 2016 年 11 月 13 日
It is not possible to do what you want. The signal vector has to be at least 2 times the length of the longest filter coefficient vector in a discrete filter.
Use an active hardware filter instead, in the input to your ADC.

Community Treasure Hunt

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

Start Hunting!

Translated by