diff options
author | Rashmi Patankar | 2025-04-30 15:01:49 +0530 |
---|---|---|
committer | GitHub | 2025-04-30 15:01:49 +0530 |
commit | 0495a12104d8466509769fc34271757f00577709 (patch) | |
tree | cb208dd421d39051d85f4ef0476c9208ef2c41ab /macros/gaussian.sci | |
parent | a0bff158d21c2c12a12781bc5019f3a45bd866b2 (diff) | |
parent | ec6379e7494ff4ca2dc7c7524013d109be450bae (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-0495a12104d8466509769fc34271757f00577709.tar.gz FOSSEE-Signal-Processing-Toolbox-0495a12104d8466509769fc34271757f00577709.tar.bz2 FOSSEE-Signal-Processing-Toolbox-0495a12104d8466509769fc34271757f00577709.zip |
Fixed Failing test scripts
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
|