From 47535ab08afeb48fbb00f03e68d6ff973cf62cbd Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Fri, 10 Nov 2017 14:59:26 +0530 Subject: Functions added --- macros/hurst.sci | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 macros/hurst.sci (limited to 'macros/hurst.sci') diff --git a/macros/hurst.sci b/macros/hurst.sci new file mode 100644 index 0000000..1a99f8c --- /dev/null +++ b/macros/hurst.sci @@ -0,0 +1,13 @@ +function y = hurst(x) + +funcprot(0); +rhs= argn(2); +if(rhs<1 | rhs>1) + error("Wrong number of input arguments"); +end + +select(rhs) + case 1 then + y= callOctave("hurst", x); +end +endfunction -- cgit