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

downsample (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 = downsample(x, n)

y = downsample(x, n, s)

Description

Downsamples an input signal.

Examples

Inputs

Name Description
x Specifies the input signal.
n Specifies the decimating factor. n is a positive integer.
s Specifies the index of the start sample. s is a nonnegative integer.

Outputs

Name Description
y Returns the decimated 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

X = 1:10;
Y = downsample(X, 3, 2)

Related Topics

decimate
resample
upsample


 

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