From 9:00 AM - 12:00 PM CDT on Saturday, June 6th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

# residuezd (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info

Owning Class: linear systems

Requires: MathScript RT Module

## Syntax

[r, p, k] = residuezd(b, a)

[b2, a2] = residuezd(r2, p2, k2)

Legacy Name: `residuez`

## Description

Computes the z-transform partial fraction expansion of two polynomials or transforms a given partial fraction expansion into the original polynomial representation.

Examples

## Inputs

Name Description
b Specifies the coefficients in descending order of power of the numerator polynomial.
a Specifies the coefficients in descending order of power of the denominator polynomial.
r2 Specifies the residues of the partial fraction expansion. r2 is a real or complex vector.
p2 Specifies the poles of the partial fraction expansion. p2 is a real or complex vector.
k2 Specifies the coefficients in descending order of power of the quotient polynomial of a2 and b2.

## Outputs

Name Description
r Returns the residues of the partial fraction expansion. r is a real or complex vector.
p Returns the poles of the partial fraction expansion. p is a real or complex vector.
k Returns the coefficients in descending order of power of the quotient polynomial of a and b.
b2 Returns the coefficients in descending order of power of the numerator polynomial.
a2 Returns the coefficients in descending order of power of the denominator polynomial.

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

B = [1, 2, 3, 4];
A = [1, 1];
[R, P, K] = residuezd(B, A)