Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

filtfilt (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the filter implementation class.

Syntax

y = filtfilt(b, a, x)

Description

Applies a one-dimensional zero-phase filter. filtfilt applies the filter, reverses the order of the resulting signal, applies the filter again, and reverses the signal a second time, resulting in zero-phase behavior. filtfilt works column-wise for matrices.

Examples

Inputs

Name Description
b Specifies the forward filter coefficients. b is a vector.
a Specifies the backward filter coefficients. If the first backward filter coefficient does not equal 1, LabVIEW normalizes the elements in a by the first backward filter coefficient. a is a vector.
x Specifies the signal to filter. x is a real or complex vector or matrix.

Outputs

Name Description
y Returns the filtered signal. y is a real or complex vector or matrix.

Examples

X = 0:0.01:1;
B = [1];
A = [1, 1, 1];
Y = filtfilt(B, A, X)

Related Topics

filter


Resources


 

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