summaryrefslogtreecommitdiff
path: root/macros/xcorr2.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-11-30 12:11:52 +0530
committerAbhinav Dronamraju2017-11-30 12:11:52 +0530
commit61f5e86e353f1332928e716cf9c730b4c5ec357d (patch)
treebfb2e64ccc143e3affaa88fea05c72fa1207ab10 /macros/xcorr2.sci
parent78b93a6cdf04aa8c861d4580eec8e4839bb8a255 (diff)
parent8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36 (diff)
downloadFOSSEE-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/xcorr2.sci')
-rw-r--r--macros/xcorr2.sci12
1 files changed, 5 insertions, 7 deletions
diff --git a/macros/xcorr2.sci b/macros/xcorr2.sci
index e73f00f..688dc3a 100644
--- a/macros/xcorr2.sci
+++ b/macros/xcorr2.sci
@@ -4,12 +4,10 @@ function c = xcorr2 (a, b, biasflag)
//c = xcorr2 (a)
//c = xcorr2 (a, b)
//c = xcorr2 (a, b, biasflag)
-
//Parameters
//a:
//b:
//biasflag:
-
//Description
//This is an Octave function.
@@ -21,16 +19,16 @@ funcprot(0);
rhs = argn(2)
if(rhs<1 | rhs>3)
-error("Wrong number of input arguments.")
+error("Wrong number of input arguments.");
end
select(rhs)
case 1 then
- c = callOctave("xcorr2",a)
+ c = callOctave("xcorr2",a);
case 2 then
- c = callOctave("xcorr2",a,b)
+ c = callOctave("xcorr2",a,b);
case 3 then
- c = callOctave("xcorr2",a,b,biasflag)
- end
+ c = callOctave("xcorr2",a,b,biasflag);
+ end;
endfunction