The resulting transfer function is returned in the second order section form stored in the sos variable.
function ButterFilter(Order: integer; const CutoffFreq: array of double; FilterType: TFilterType; Analog: boolean; const sos: TVec; IirFrequencyTransform: TIirFrequencyTransform = ftStateSpaceAnalog): double; overload;
The sos variable can be passed directly to the IirInitBQ filter initialization routine. Second order section form delivers substantially higher numerical stability and range than filtering with num/den form which is used by the IirInit routine.
|
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|