Calculates the Discrete Sine Transform.
DST(series, n)
series |
- |
A series or table. |
n |
- |
Optional. An integer, the transform length. Defaults to |
A series or array.
dst(gsin(1000, 1/1000, 20))
returns a series with a split peak about 20 Hz.
dst(gsin(1000, 1/1000, 20), 8192)
Same as above, but the input is zero padded to length 8192 before the DST is calculated.
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.