Discrete Sine Transform of Type II
s = dst_ii(x)
signal of dyadic length
discrete cosine transform, type II, of x
The form s = dst_ii(x) computes s defined by s_m = sqrt(2/N) * sum_n k_m x(n) sin( pi * m*(2n-1) / 2N ) where 1 <= m,n <= N, N = length(x) = length(c) and k_m = [ 1 if 1 <= m <= N-1 [ 1/sqrt(2) if m = N
The dst_ii is inverted by the dst_iii.