y = dst(x) computes the
discrete sine transform of x according to the equation
If x is a matrix, then dst applies to each
column. For best performance, the number of rows in x must be 2m – 1, where m is an integer.
y = dst(x,n)
truncates the vector x or pads it with trailing zeros to length
n before computing the transform. If x is a
matrix, then dst truncates or pads each column.
Input array, specified as a vector or a matrix. If x is a
matrix, then dst applies to each column.
Data Types: double
n — Transform length nonnegative integer
Transform length, specified as a nonnegative integer. If x is a
vector, then dst truncates it or pads it with trailing zeros, so that
the resulting vector has n elements. If x is a
matrix, then dst truncates or pads each column.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.