# dst

Version:

Computes the discrete sine transform. You can invert this transform with the idst function.

## Syntax

c = dst(a)
c = dst(a, b)

## a

Input array. If a is a 2D array, dst computes the discrete sine transform along the first non-singleton dimension of a.

## b

Pads a with zeros or truncates a to length b. b is a positive integer.

## c

Discrete sine transform of a.

x = sin(0:12);
y = dst(x, 16)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices