Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void LowpassToBandstop(TVec *z, TVec *p, double &k, double CenterFreq, double BW); | Frequency transformation from a lowpass to a bandstop filter in s-domain. |
| 2 | void LowpassToBandstop(TMtx *a, TVec *b, TVec *c, double &D, double CenterFreq, double BW); | Convert a lowpass filter prototype in state space form to a bandstop filter. |
Overload 1: void LowpassToBandstop(TVec *z, TVec *p, double &k, double CenterFreq, double BW);
Frequency transformation from a lowpass to a bandstop filter in s-domain.
Remarks:
Transform a lowpass filter prototype in zero-pole form to a bandstop filter, where the stopband has width BW centered around the frequency CenterFreq. Assumed sampling frequency is 2. The transformation is defined as ([1], p. 258): s -> (s (W_u - W_l))/(s^2 + W_u W_l)
Wl - lower cutoff frequency Wu - upper cutoff frequency
The routine also adds pairs of zeros at +/-j*CenterFreq, if the number of zeros is less then number of poles, to match the number of poles.
References:
[1] Theory and application of digital signal processing, Lawrence R. Rabiner and Bernard Gold. Prentice-Hall, 1975
Declared in Dew::Signal::Units::LinearSystems · Dew.Signal/Units.LinearSystems.h · Cross-compiler
Overload 2: void LowpassToBandstop(TMtx *a, TVec *b, TVec *c, double &D, double CenterFreq, double BW);
Convert a lowpass filter prototype in state space form to a bandstop filter.
See Also: LinearSystems::LowpassToLowpass, LinearSystems::LowpassToBandpass, LinearSystems::LowpassToHighpass, LinearSystems::LowpassToLowpassZ, LinearSystems::LowpassToBandpassZ, LinearSystems::LowpassToBandstopZ, LinearSystems::LowpassToHighpassZ
Declared in Dew::Signal::Units::LinearSystems · Dew.Signal/Units.LinearSystems.h · Cross-compiler