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

resample_fir (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: resampling

Requires: MathScript RT Module

Syntax

y = resample_fir(x, h, p, q)

y = resample_fir(x, h, p)

y = resample_fir(x, h)

Legacy Name: upfirdn

Description

Resamples the input signal. resample_fir upsamples, applies a specified FIR filter, and downsamples a signal.

Examples

Inputs

Name Description
x Specifies the input signal. If x is a matrix, resample_fir resamples x along each column.
h Specifies the FIR filter. If h is a matrix, resample_fir applies each column of h to the input signal.
p Specifies the upsampling factor. p is a positive integer. The default is 1.
q Specifies the downsampling factor. q is a positive integer. The default is 1.

Outputs

Name Description
y Returns the resampled signal.

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

y = resample_fir(1:10, [1 1], 2, 3)

Related Topics

downsample
resample
upsample


 

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