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

resample_fir (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

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