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

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


y = filter_zerophase(b, a, x)

Legacy Name: filtfilt


Applies a one-dimensional zero-phase filter. filter_zerophase 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. filter_zerophase works column-wise for matrices.



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.


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


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


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

Related Topics



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