DADiSP Worksheet Functions > Function Categories > Fourier Transforms and Signal Processing > DST

 

DST

Purpose:

Calculates the Discrete Sine Transform.

Syntax:

DST(series, n)

series

-

A series or table.

n

-

Optional. An integer, the transform length. Defaults to length(series).

Returns:

A series or array.

Example:

dst(gsin(1000, 1/1000, 20))

 

returns a series with a split peak about 20 Hz.

Example:

dst(gsin(1000, 1/1000, 20), 8192)

 

Same as above, but the input is zero padded to length 8192 before the DST is calculated.

Remarks:

The discrete sine transform is define as:

 

 

The DST returns a real result for a real input series.

 

The transform is applied to each column if the input is an array. See IDST to compute the inverse discrete sine transform.

See Also:

DCT

DCT2

IDCT

IDCT2

IDST

FFT