Owning Class: filter design
Requires: MathScript RT Module
[num2, den2] = lp_to_bs(num1, den1, w, bw)
[a1, b2, c2, d2] = lp_to_bs(a1, b1, c1, d1, w, bw)
Legacy Name: lp2bs
Transforms an analog lowpass filter to a bandstop filter.
| Name | Description |
|---|---|
| num1, den1 | Specify the transfer function of the filter. |
| a1, b1, c1, d1 | Specify the state-space representation of the filter. |
| w | Specifies the center frequency. |
| bw | Specifies the bandwidth. |
| Name | Description |
|---|---|
| num2, den2 | Return the transfer function of the filter. |
| a2, b2, c2, d2 | Return the state-space representation of the filter. |
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
num1 = [0.022, 0.109, 0.219, 0.219, 0.109, 0.022];
den1 = [1, -0.985, 0.974, -0.386, 0.111, -0.011];
w = 50E3;
bw = 0.6;
[num2, den2] = lp_to_bs(num1, den1, w, bw)