diff options
Diffstat (limited to 'macros/dst1.sci')
-rw-r--r-- | macros/dst1.sci | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/macros/dst1.sci b/macros/dst1.sci index 3b3b4b6..7f2165f 100644 --- a/macros/dst1.sci +++ b/macros/dst1.sci @@ -1,5 +1,14 @@ function y = dst1(x, varargin) - +//Computes the type I discrete sine transform of x +//Calling Sequence +//y= dst1(x) +//y= dst1(x,n) +//Parameters +//x: real or complex valued vector +//n= Length to which x is trimmed before transform +//Description +//This is an Octave function. +//Computes the type I discrete sine transform of x. If n is given, then x is padded or trimmed to length n before computing the transform. If x is a matrix, compute the transform along the columns of the the matrix. funcprot(0); lhs= argn(1); |