summaryrefslogtreecommitdiff
path: root/macros/cceps.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/cceps.sci')
-rw-r--r--macros/cceps.sci11
1 files changed, 10 insertions, 1 deletions
diff --git a/macros/cceps.sci b/macros/cceps.sci
index 8360085..3756a5d 100644
--- a/macros/cceps.sci
+++ b/macros/cceps.sci
@@ -3,10 +3,19 @@ function y = cceps (x,correct)
//Calling Sequence
//cceps (x)
//cceps(x, correct)
+//Parameters
+//x: vector.
+//correct: if 1, a correction method is applied.
//Description
//This function return the complex cepstrum of the vector x. If the optional argument correct has the value 1, a correction method is applied. The default is not to do this.
+//Examples
+//cceps([1,2,3],1)
+//ans =
+// 1.92565
+// 0.96346
+// -1.09735
+
funcprot(0);
-//
rhs = argn(2)
if(rhs<1 | rhs>2)
error("Wrong number of input arguments.")