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

filter_lattice (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

[f, g] = filter_lattice(k, x)

[f, g] = filter_lattice(k, 1, x)

[f, g] = filter_lattice(k, v, x)

[f, g, final] = filter_lattice(k, x, 'ic', initial)

[f, g, final] = filter_lattice(k, 1, x, 'ic', initial)

[f, g, final] = filter_lattice(k, v, x, 'ic', initial)

Legacy Name: latcfilt

Description

Uses a lattice filter to filter a signal. filter_lattice works column-wise for matrices.

Examples

Inputs

Name Description
k Specifies the lattice reflection coefficients. k is a real vector or matrix.
v Specifies the lattice ladder coefficients. v is a real vector or the integer 1.
x Specifies the signal to filter. x is a real vector or matrix.
'ic' Tells LabVIEW that the next listed input is initial.
initial Specifies the initial states. initial is a real vector or matrix.

Outputs

Name Description
f Returns the minimum-phase filtered signal. If v is 1, f returns the all-pole filtered signal. f is a real vector or matrix.
g Returns the maximum-phase filtered signal. If v is 1, g returns the all-pass filtered signal. g is a real vector or matrix.
final Returns the final states. final is a real vector or matrix.

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

K = [0.1, 0.2, 0.8];
X = 0:0.01:1;
[F, G] = filter_lattice(K, X)

Related Topics

filter
filter_2d


 

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