filter_lattice (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

»查看产品信息 下载帮助（仅限Windows）

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)

﻿