diff options
Diffstat (limited to 'macros/autoreg_matrix.sci')
-rw-r--r-- | macros/autoreg_matrix.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/autoreg_matrix.sci b/macros/autoreg_matrix.sci new file mode 100644 index 0000000..bc36969 --- /dev/null +++ b/macros/autoreg_matrix.sci @@ -0,0 +1,13 @@ +function y = autoreg_matrix(Y, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<2 | rhs>2) +error("Wrong number of input arguments."); +end + + select(rhs) + case 2 then + y = callOctave("autoreg_matrix", Y, varargin(1)); + end +endfunction |