Signal Toolkit - lp2bp
- Function File:
[bt, at] =lp2bp(b, a, Wo, Bw) - Function File:
[At, Bt, Ct, Dt] =lp2bp(A, B, C, D, Wo, Bw) -
Transform an analog lowpass filter prototype to a bandpass filter with a given center frequency and bandwidth.
Two calling forms are available:
- Transfer function form
[bt, at] = lp2bp (b, a, Wo, Bw)
Given a lowpass filter with numerator coefficients b and denominator coefficients a, returns the bandpass filter coefficients bt and at with center frequency Wo and bandwidth Bw (both in rad/s).
- State-space form
[At, Bt, Ct, Dt] = lp2bp (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 bandpass filter with center frequency Wo and bandwidth Bw (both in rad/s).
See also: lp2lp, lp2hp, lp2bs.