diff options
Diffstat (limited to 'macros/fht.sci')
-rw-r--r-- | macros/fht.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/fht.sci b/macros/fht.sci index c6fd1bd..f7e5c8e 100644 --- a/macros/fht.sci +++ b/macros/fht.sci @@ -1,4 +1,17 @@ function y=fht(d,n,dim) +//The Function calculates the Fast Hartley Transform of real input. +//Calling Sequence +//M = fht (D) +//M = fht (D, N) +//M = fht (D, N, DIM) +//Parameters +//Description +//This function calculates the Fast Hartley transform of real input D. If D is a matrix, the Hartley transform is calculated along the columns by default. +//Examples +//fht(1:4) +//ans = +// 10 -4 -2 0 +//This function is being called from Octave. funcprot(0); rhs=argn(2); if(rhs<1 | rhs>3) |