summaryrefslogtreecommitdiff
path: root/macros/autoreg_matrix.sci
blob: bc36969ae0f6db784a77e408ebcfb2825804dead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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