Designs filter coefficients for a smoothing filter. You can use this node to design a moving-average FIR filter or an exponentially-averaging IIR filter.
To filter a sequence of data, wire the filter output to the Filtering node.
The type of smoothing filter to design.
Yields forward-only (FIR) coefficients.
Yields first-order IIR coefficients.
Default: moving average
Half-width of the moving-average filter in samples. For a half-width of M, the full width of the moving-average filter is N = 1 + 2*M samples. Therefore, the full width N is always an odd number of samples.
The shape of the moving-average filter.
Applies a rectangular moving-average filter to the samples. All samples in the moving-average window are weighted equally in computing each smoothed output sample.
Applies a triangular moving-average filter to the samples. The peak is centered in the middle of the moving-average window, ramping down symmetrically on both sides of the center sample.
Time constant of the exponential-weighting filter in seconds.
Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.
Default: No error
Sampling frequency in samples per second.
Output smoothing filter.
Structure of the output filter.
The forward coefficients of an IIR filter.
The reverse, or feedback, coefficients of an IIR filter.
The sampling frequency in Hz.
Error information. The node produces this output according to standard error behavior.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported