filter_fir
Direct implementation of a FIR filter.
Namespace: dsp::filter
Prototype
sptr<FilterGen<T>> filter_fir(const Vector<Tc> &h)
Parameters
h | Vector with filter coefficients. |
Returns
Filter T -> T
Description
Implemented with the convolution equation:
- Note
- If the number of coefficients is important, better usr the filter_fir_fft(), which may be more efficient (filtering in the frequency domain).