diff options
Diffstat (limited to 'macros/gaussian.sci')
-rw-r--r-- | macros/gaussian.sci | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/gaussian.sci b/macros/gaussian.sci index 234512e..dc9ab24 100644 --- a/macros/gaussian.sci +++ b/macros/gaussian.sci @@ -1,4 +1,4 @@ -//Author: Rashmi Patankar
+function w = gaussian(m, a)
//This function returns a Gaussian convolution window.
//Calling Sequence
//w = gaussian (m)
@@ -10,7 +10,7 @@ //Description
//This function returns a Gaussian convolution window of length m supplied as input, to the output vector w.
//The second parameter is the width measured in sample rate/number of samples and should be f for time domain and 1/f for frequency domain. The width is inversely proportional to a.
-function w = gaussian(m, a)
+//Author: Rashmi Patankar
if nargin < 1 | nargin > 2 then
error('gaussian: Incorrect number of input arguments');
elseif ~(isscalar(m) & m == fix(m) & m > 0) then
|