diff options
author | Abhinav Dronamraju | 2017-11-30 12:11:52 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-11-30 12:11:52 +0530 |
commit | 61f5e86e353f1332928e716cf9c730b4c5ec357d (patch) | |
tree | bfb2e64ccc143e3affaa88fea05c72fa1207ab10 /macros/idst1.sci | |
parent | 78b93a6cdf04aa8c861d4580eec8e4839bb8a255 (diff) | |
parent | 8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36 (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-61f5e86e353f1332928e716cf9c730b4c5ec357d.tar.gz FOSSEE-Signal-Processing-Toolbox-61f5e86e353f1332928e716cf9c730b4c5ec357d.tar.bz2 FOSSEE-Signal-Processing-Toolbox-61f5e86e353f1332928e716cf9c730b4c5ec357d.zip |
Merged with master upstream
Diffstat (limited to 'macros/idst1.sci')
-rw-r--r-- | macros/idst1.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/idst1.sci b/macros/idst1.sci index 5276a70..98fc874 100644 --- a/macros/idst1.sci +++ b/macros/idst1.sci @@ -1,4 +1,17 @@ function y = idst1(x,varargin) +//This function computes the inverse type I discrete sine transform. +//Calling Sequence +//Y = idst(X) +//Y = idst(X, N) +//Parameters +//X: Matrix or integer +//N: If N is given, then X is padded or trimmed to length N before computing the transform. +//Description +//This function computes the inverse type I discrete sine transform of Y. If N is given, then Y is padded or trimmed to length N before computing the transform. If Y is a matrix, compute the transform along the columns of the the matrix. +//Examples +//idst([1,3,6]) +//ans = +// 3.97487 -2.50000 0.97487 funcprot(0); rhs=argn(2); if(rhs<1 | rhs>2) then |