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

dct (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: transforms

Requires: MathScript RT Module

Syntax

c = dct(a)

c = dct(a, b)

Description

Computes the discrete cosine transform. You can invert this transform with the idct function.

Examples

Inputs

Name Description
a Specifies the input array. a is an array. If a is a 2D array, dct computes the discrete cosine transform along the first non-singleton dimension of a.
b Pads a with zeros or truncates a to the length of b. b is a positive integer.

Outputs

Name Description
c Returns the discrete cosine transform of a.

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 = cos(0:12);
y = dct(x, 16)

Related Topics

dst
idct
idst


 

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