summaryrefslogtreecommitdiff
path: root/macros/fractdiff.sci
diff options
context:
space:
mode:
authorbgtushar2017-11-30 12:13:24 +0530
committerGitHub2017-11-30 12:13:24 +0530
commit14d0ad8d846d12b3c82b0b5bc4ffd4d1360ec288 (patch)
treebfb2e64ccc143e3affaa88fea05c72fa1207ab10 /macros/fractdiff.sci
parent8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36 (diff)
parent61f5e86e353f1332928e716cf9c730b4c5ec357d (diff)
downloadFOSSEE-Signal-Processing-Toolbox-14d0ad8d846d12b3c82b0b5bc4ffd4d1360ec288.tar.gz
FOSSEE-Signal-Processing-Toolbox-14d0ad8d846d12b3c82b0b5bc4ffd4d1360ec288.tar.bz2
FOSSEE-Signal-Processing-Toolbox-14d0ad8d846d12b3c82b0b5bc4ffd4d1360ec288.zip
Merge pull request #7 from abhinavdronamraju/master
Merge and add 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)