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

dct (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the transforms class.

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.

Examples

x = cos(0:12);
y = dct(x, 16)

Related Topics

dst
idct
idst


Resources


 

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