# bilinear (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info Download Help (Windows Only)

Owning Class: filter implementation

Requires: MathScript RT Module

## Syntax

[num2, den2] = bilinear(num1, den1, fs)

[num2, den2] = bilinear(num1, den1, fs, fp)

[z2, p2, k2] = bilinear(z1, p1, k1, fs)

[z2, p2, k2] = bilinear(z1, p1, k1, fs, fp)

[a2, b2, c2, d2] = bilinear(a1, b1, c1, d1, fs)

[a2, b2, c2, d2] = bilinear(a1, b1, c1, d1, fs, fp)

## Description

Computes a bilinear transform with optional frequency prewarping.

Examples

## Inputs

Name Description
num1 Specifies the numerator coefficients of the filter. num1 is a vector.
den1 Specifies the denominator coefficients of the filter. den1 is a vector.
z1 Specifies the zeros of the system. z1 is a vector.
p1 Specifies the poles of the system. p1 is a vector.
k1 Specifies the gain of the system.
a1, b1, c1, d1 Specify the state-space of the system.
fs Specifies the sample frequency in Hz.
fp Specifies the match point in Hz.

## Outputs

Name Description
num2 Returns the numerator coefficients of the filter. num2 is a vector.
den2 Returns the denominator coefficients of the filter. den2 is a vector.
z2 Returns the zeros of the system. z2 is a vector.
p2 Returns the poles of the system. p2 is a vector.
k2 Returns the gain of the system.
a2, b2, c2, d2 Return the state-space of the system.

## 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 = [1 2 3];
den1 = [7 6 5];
fs = 2;
[b, a] = bilinear(num1, den1, fs)