Question
how to calculate coefficients in matlab?
Posted on June 05, 2014 at 20:53
hi, im going to design and IIR biquad filter in matlab FTDTOOL and use generated coefficients in cmsis dsp function arm_biquad_cascade_df1_f32 () .
i design an IIR filter for example 8th order and set filter arithmetic to single precision floating point and then export filter to workspace. there will be two matrix. i copy bx0 bx1 bx2 and ax1 ax2 (ax0 alway 1) from sos matrix to keil and dont use gain matrix because i dont know where to use it. and the filter does not work.(output is near zero)my question is how to generate coefficient to use in arm_biquad_cascade_df1_f32 () ?thanks #biquad-coefficient-matlab-stm32m