IIRFilters::ChebyshevIIFilter Function

Overload List

#SignatureDescription
1double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TVec *z, TVec *p, double &k, TIirFrequencyTransform IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalog);Design Chebyshev type II IIR filter.
2double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TVec *sos, TIirFrequencyTransform IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalog);The resulting transfer function is returned in the second order section form stored in the sos variable.
3double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TVec *Num, TVec *Den, TIirFrequencyTransform IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalog);The resulting transfer function is returned in the numerator/denumerator form with num and den.
4double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TMtx *A, TVec *B, TVec *C, double &d);The resulting transfer function is returned in the state-space form with A,B,C,D variables.

Overload 1: double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TVec *z, TVec *p, double &k, TIirFrequencyTransform IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalog);

Design Chebyshev type II IIR filter.

#NameTypeDescription
1Orderint
2StopRippledouble
3CutoffFreqconst DewArray<double> &
4FilterTypeTFilterType
5Analogbool
6zTVec *
7pTVec *
8kdouble &
9IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalogTIirFrequencyTransform
Remarks:

Design Chebyshev type II filter of Order with CutoffFreq frequencies and of FilterType type. Set Analog to True, to request an analog filter design in s-plane or set it to false to obtain a digital filter design in z-plane. StopRipple defines the stopband ripple in dB. CutoffFreq must be in range between 0 and 1 (Sampling frequency = 2) in case of a digital filter design.

IirFrequencyTransform specifies when and how will the frequency band transformation be applied. The resulting transfer function is returned in the zero-pole form, with z,p,k variables.

Declared in Dew::Signal::Units::IIRFilters · Dew.Signal/Units.IIrFilters.h · Cross-compiler

Overload 2: double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TVec *sos, TIirFrequencyTransform IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalog);

The resulting transfer function is returned in the second order section form stored in the sos variable.

#NameTypeDescription
1Orderint
2StopRippledouble
3CutoffFreqconst DewArray<double> &
4FilterTypeTFilterType
5Analogbool
6sosTVec *
7IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalogTIirFrequencyTransform
Remarks:

The sos variable can be passed directly to the IirInitBQ digital 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.

Declared in Dew::Signal::Units::IIRFilters · Dew.Signal/Units.IIrFilters.h · Cross-compiler

Overload 3: double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TVec *Num, TVec *Den, TIirFrequencyTransform IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalog);

The resulting transfer function is returned in the numerator/denumerator form with num and den.

#NameTypeDescription
1Orderint
2StopRippledouble
3CutoffFreqconst DewArray<double> &
4FilterTypeTFilterType
5Analogbool
6NumTVec *
7DenTVec *
8IirFrequencyTransform = TIirFrequencyTransform::ftStateSpaceAnalogTIirFrequencyTransform
Declared in Dew::Signal::Units::IIRFilters · Dew.Signal/Units.IIrFilters.h · Cross-compiler

Overload 4: double ChebyshevIIFilter(int Order, double StopRipple, const DewArray<double> &CutoffFreq, TFilterType FilterType, bool Analog, TMtx *A, TVec *B, TVec *C, double &d);

The resulting transfer function is returned in the state-space form with A,B,C,D variables.

#NameTypeDescription
1Orderint
2StopRippledouble
3CutoffFreqconst DewArray<double> &
4FilterTypeTFilterType
5Analogbool
6ATMtx *
7BTVec *
8CTVec *
9ddouble &
See Also: SignalUtils::IirFilter, IIRFilters::ButterFilter, IIRFilters::ChebyshevIFilter, IIRFilters::EllipticFilter, IIRFilters::BesselFilter, IIRFilters::ChebyshevIIOrder, IIRFilters::ChebyshevIAnalog, Bilinear
Declared in Dew::Signal::Units::IIRFilters · Dew.Signal/Units.IIrFilters.h · Cross-compiler