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

41 views (last 30 days)
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

Accepted Answer

Jan
Jan on 26 Feb 2014
Edited: Jan on 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.

More Answers (0)

Categories

Find more on Digital and Analog Filters in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!