summaryrefslogtreecommitdiff
path: root/macros/fractdiff.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-11-29 17:34:00 +0530
committerAbhinav Dronamraju2017-11-29 17:34:00 +0530
commitd97df53d72f66db206da540e909679fa863b51b6 (patch)
treed771887f58498d5b6fc4c6d1efe0db0376e7a043 /macros/fractdiff.sci
parent9539b5efb5ccf665a1cc4b8e814e96460b22e0ab (diff)
downloadFOSSEE-Signal-Processing-Toolbox-d97df53d72f66db206da540e909679fa863b51b6.tar.gz
FOSSEE-Signal-Processing-Toolbox-d97df53d72f66db206da540e909679fa863b51b6.tar.bz2
FOSSEE-Signal-Processing-Toolbox-d97df53d72f66db206da540e909679fa863b51b6.zip
Added xml files and new functions
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)