summaryrefslogtreecommitdiff
path: root/macros/durbinlevinson.sci
blob: cd56e48d1c8189bc4ac4925add8cf0daefb5dc68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function y= durbinlevinson(C, varargin)
	rhs=argn(2);
	if(rhs<1 | rhs>3)
		error("Wrong number of input arguments");
	end
	select(rhs)
	case 1 then
		y=callOctave("durbinlevinson",C);
	case 2 then
		y=callOctave("durbinlevinson",C, varargin(1));
	case 3 then
		y=callOctave("durbinlevinson",C, varargin(1), varargin(2));
	end
endfunction