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

downsample (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 = 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.

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