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

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


y = resample(x, p, q)

y = resample(x, p, q, n)

y = resample(x, p, q, n, beta)

y = resample(x, p, q, b)

[y, b] = resample(x, p, q)

[y, b] = resample(x, p, q, n)

[y, b] = resample(x, p, q, n, beta)


Resamples an input signal.



Name Description
x Specifies the input signal. If x is a matrix, resample resamples x along each column.
p Specifies the upsampling factor. p is a positive integer.
q Specifies the downsampling factor. q is a positive integer.
n Specifies the length of the FIR filter applied to the upsampled signal. The default is 10.
beta Designs the Kaiser window.
b Specifies the FIR filter. b is a vector.


Name Description
y Returns the resampled signal.
b Returns the FIR filter applied to the upsampled signal.


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


y = resample(1:10, 2, 3)

Related Topics



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