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

lattice_to_tf (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: linear systems

Requires: MathScript RT Module


[b, a] = lattice_to_tf(k)

[b, a] = lattice_to_tf(k, option)

[b, a] = lattice_to_tf(k, v)

Legacy Name: latc2tf


Converts a lattice filter to a transfer function.



Name Description
k Specifies the lattice reflection coefficients. k is a real vector.
v Specifies the lattice ladder coefficients. v is a real vector.
option Specifies the type of filter. option is a string that accepts the following values:

'FIR' General FIR filter.
'min' Minimum-phase FIR filter.
'max' Maximum-phase FIR filter.
'allpole' All-pole filter.
'allpass' All-pass filter.


Name Description
b Returns the forward filter coefficients.
a Returns the backward filter coefficients.


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


k = [0.1, 0.2, 0.5];
v = [0.9, 0.3, 0.4, 0.1];
[a, b] = lattice_to_tf(k, v)

Related Topics



 Was this document helpful?  submit
  Helpful Not Helpful