LinearSystems::LowpassToHighpass Function

Overload List

#SignatureDescription
1void LowpassToHighpass(TVec *z, TVec *p, double &k, double Freq);Frequency transformation from a lowpass to a highpass filter in s-domain.
2void LowpassToHighpass(TMtx *A, TVec *B, TVec *C, double &D, double Freq);Transform a lowpass filter prototype in state space form to highpass filter.

Overload 1: void LowpassToHighpass(TVec *z, TVec *p, double &k, double Freq);

Frequency transformation from a lowpass to a highpass filter in s-domain.

#NameTypeDescription
1zTVec *
2pTVec *
3kdouble &
4Freqdouble
Remarks:

Transform a lowpass filter prototype in zero-pole form to a highpass filter, where the new cutoff frequency is Freq. Assumed sampling frequency is 2. The transformation is defined as ([1], p. 258): s -> W_u/s

Wu - new cutoff frequency

The routine also adds zeros at 0. It adds one zero, if the lowpass filter order is odd and already has zeros. If the filter does not have zeros, it adds sufficient zeros at 0 to match the order of the filter.

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 LowpassToHighpass(TMtx *A, TVec *B, TVec *C, double &D, double Freq);

Transform a lowpass filter prototype in state space form to highpass filter.

#NameTypeDescription
1ATMtx *
2BTVec *
3CTVec *
4Ddouble &
5Freqdouble
See Also: LinearSystems::LowpassToLowpass, LinearSystems::LowpassToBandstop, LinearSystems::LowpassToBandpass, LinearSystems::LowpassToLowpassZ, LinearSystems::LowpassToBandpassZ, LinearSystems::LowpassToBandstopZ, LinearSystems::LowpassToHighpassZ
Declared in Dew::Signal::Units::LinearSystems · Dew.Signal/Units.LinearSystems.h · Cross-compiler