Home > freetb4matlab > signal > dst.m

dst

PURPOSE ^

% Computes the type I discrete sine transform of @var{x}. If @var{n} is given,

SYNOPSIS ^

function y = dst (x, n)

DESCRIPTION ^

% -*- 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}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003