how to implement digital iir lowpass filter in C programming by using coefficients of this filter?

36 Ansichten (letzte 30 Tage)
these are coefficients;
[b,a]=sos2tf(SOS)
b =
1 5 10 10 5 1
a =
1.0000 -4.9980 9.9919 -9.9878 4.9919 -0.9980

Akzeptierte Antwort

Jan
Jan am 26 Feb. 2014
Bearbeitet: Jan am 26 Feb. 2014
You find a complete filter implementation in C inside FEX: FilterM
A Matlab version can be found here: http://www.mathworks.com/matlabcentral/answers/9900#answer_13623 and the converion to C should be easy.

Weitere Antworten (0)

Kategorien

Mehr zu Digital and Analog Filters finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by