Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

lp_to_bs (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

Owning Class: filter design

Requires: MathScript RT Module

Syntax

[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

Description

Transforms an analog lowpass filter to a bandstop filter.

Examples

Inputs

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.

Outputs

Name Description
num2, den2 Return the transfer function of the filter.
a2, b2, c2, d2 Return the state-space representation of the filter.

Details

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

Examples

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)

Related Topics

lp_to_bp
lp_to_hp
lp_to_lp


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit