summaryrefslogtreecommitdiff
path: root/macros/fractdiff.sci
diff options
context:
space:
mode:
authorbgtushar2017-11-30 20:31:42 +0530
committerbgtushar2017-11-30 20:31:42 +0530
commitf6ef6a0238d4a028e65a0a7f1f1d39ff7979dec2 (patch)
tree9d5f3f6632568deb6f285acebd9990f4eb02171a /macros/fractdiff.sci
parentbde72bceca94ce47e8c65886878947cf3c2445cb (diff)
parent99b498fb0cedd8560d18f032a4cb1fcae0c1fadb (diff)
downloadFOSSEE-Signal-Processing-Toolbox-f6ef6a0238d4a028e65a0a7f1f1d39ff7979dec2.tar.gz
FOSSEE-Signal-Processing-Toolbox-f6ef6a0238d4a028e65a0a7f1f1d39ff7979dec2.tar.bz2
FOSSEE-Signal-Processing-Toolbox-f6ef6a0238d4a028e65a0a7f1f1d39ff7979dec2.zip
final commit
Diffstat (limited to 'macros/fractdiff.sci')
-rw-r--r--macros/fractdiff.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/fractdiff.sci b/macros/fractdiff.sci
index 1731dc1..979a079 100644
--- a/macros/fractdiff.sci
+++ b/macros/fractdiff.sci
@@ -1,4 +1,10 @@
function y= fractdiff(x,d)
+//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1.
+//Calling Sequence
+// fractdiff (X, D)
+//Description
+//This is an Octave function.
+//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1.
funcprot(0);
rhs= argn(2);
if(rhs < 2 | rhs >2)