summaryrefslogtreecommitdiff
path: root/macros/cceps.sci
diff options
context:
space:
mode:
authorbgtushar2017-11-30 17:33:15 +0530
committerbgtushar2017-11-30 17:33:15 +0530
commit8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36 (patch)
treeb20459680962747b04c5e349df3740111613b47e /macros/cceps.sci
parentd97a4b7e2f0f25fb5cd94bd90a3b822592179d1e (diff)
downloadFOSSEE-Signal-Processing-Toolbox-8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36.tar.gz
FOSSEE-Signal-Processing-Toolbox-8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36.tar.bz2
FOSSEE-Signal-Processing-Toolbox-8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36.zip
deleted html and added new functions
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.")