2D DST VI
- Updated2025-07-30
- 2 minute(s) read
Computes the Discrete Sine Transform (DST) of the input sequence X. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
X
—
X is the real input sequence.
DST {X}
—
DST {X} is the DST of X.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
2D DST
The two-dimensional Discrete Sine Transform DST {X} of a matrix X is defined as:
where M and N are the number of rows and columns, respectively, of the input matrix X. x(m, n) is the element of the input matrix X with row number m and column number n. y(u, v) is the element of the output matrix DST {X} with row number u and column number v. This VI performs a two-dimensional DST using the following two steps:
- Perform a one-dimensional DST row-by-row on the input matrix X. The output is Y'.
- Perform a one-dimensional DST column-by-column on Y'. The output is DST {X}.
X
—
DST {X}
—
error
—