# bilinear

Version:

Computes a bilinear transform with optional frequency prewarping.

## 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)

## num1

Numerator coefficients of the filter. num1 is a row vector.

## den1

Denominator coefficients of the filter. den1 is a row vector.

## z1

Zeros of the system. z1 is a column vector.

## p1

Poles of the system. p1 is a column vector.

## k1

Gain of the system.

## a1

State matrix of the state-space model.

## b1

Input matrix of the state-space model.

## c1

Output matrix of the state-space model.

## d1

Direct transmission matrix of the state-space model.

## fs

Sample frequency in Hz.

## fp

Match point in Hz.

## num2

Numerator coefficients of the filter. num2 is a row vector.

## den2

Denominator coefficients of the filter. den2 is a row vector.

## z2

Zeros of the system. z2 is a column vector.

## p2

Poles of the system. p2 is a column vector.

## k2

Gain of the system.

## a2

State matrix of the state-space model.

## b2

Input matrix of the state-space model.

## c2

Output matrix of the state-space model.

## d2

Direct transmission matrix of the state-space model.

num1 = [1 2 3];
den1 = [7 6 5];
fs = 2;
[b, a] = bilinear(num1, den1, fs)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices