FDA Tool

34 views (last 30 days)
Sohaib Fakhar
Sohaib Fakhar on 6 Jul 2011
Commented: abhishek singh on 3 Aug 2017
While exporting IIR filter coefficients into workspace, I get an option of SOS Matrix and Scale Values.What does "Scale values" option do?

Accepted Answer

Rick Rosson
Rick Rosson on 6 Jul 2011
The SOS Matrix is an M x 6 matrix that provides the unscaled coefficients for the M second-order sections that, when cascaded, implement the filter. The Scale values option outputs an M x 1 column vector G, each element of which is essentially a multiplicative gain factor that you can use simply to scale each second-order section so that the overall filter is referenced to 0 dB. So G does not affect the shape of the output waveform or spectrum, but it does affect the scale or level of the output or spectrum.
Does that make sense?
Rick
  2 Comments
Sohaib Fakhar
Sohaib Fakhar on 12 Jul 2011
thanx a lot.xtremely greatful
abhishek singh
abhishek singh on 3 Aug 2017
sir, i got SOS and G for my bandpass filter and now wants to apply it in C code to filter an audio . how can i do that.i still don't get idea how to apply these coefficients as i need to neglect frequencies that are 3db down

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!