Signal Toolkit - lp2bs


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

Transform an analog lowpass filter prototype to a bandstop filter with a given center frequency and bandwidth.

Two calling forms are available:

Transfer function form

[bt, at] = lp2bs (b, a, Wo, Bw)

Given a lowpass filter with numerator coefficients b and denominator coefficients a, returns the bandstop filter coefficients bt and at with center frequency Wo and bandwidth Bw (both in rad/s).

State-space form

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

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

See also: lp2bp, lp2hp, lp2lp.