Signal Toolkit - lp2hp


Function File: [bt, at] = lp2hp (b, a, Wo)
Function File: [At, Bt, Ct, Dt] = lp2hp (A, B, C, D, Wo)

Transform an analog lowpass filter prototype to a highpass filter with a given cutoff frequency.

Two calling forms are available:

Transfer function form

[bt, at] = lp2hp (b, a, Wo)

Given a lowpass filter with numerator coefficients b and denominator coefficients a, returns the highpass filter coefficients bt and at with cutoff frequency Wo (in rad/s).

State-space form

[At, Bt, Ct, Dt] = lp2hp (A, B, C, D, Wo)

Given a lowpass filter in state-space form (A, B, C, D), returns the transformed state-space matrices (At, Bt, Ct, Dt) for the highpass filter with cutoff frequency Wo (in rad/s).

See also: lp2lp, lp2bp, lp2bs.