summaryrefslogtreecommitdiff
path: root/macros/xcorr2.sci
diff options
context:
space:
mode:
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