downsample (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

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

文章是否对您有帮助?

没有帮助