% -*- texinfo -*- % @deftypefn {Function File} @var{y} = dst (@var{x}) % @deftypefnx {Function File} @var{y} = dst (@var{x}, @var{n}) % Computes the type I discrete sine transform of @var{x}. If @var{n} is given, % then @var{x} is padded or trimmed to length @var{n} before computing the transform. % If @var{x} is a matrix, compute the transform along the columns of the % the matrix. % % The discrete sine transform X of x can be defined as follows: % % N % X[k] = sum x[n] sin (pi n k / (N+1) ), k = 1, ..., N % n=1 % % @end deftypefn % @seealso{idst}