summaryrefslogtreecommitdiff
path: root/macros/hanning.sci
blob: d90faf2db43a3ade8b5026c242924cb8b69e223d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function y = hanning(m, varargin)
	

funcprot(0);
rhs= argn(2);
if(rhs <1 | rhs>2)
error("Wrong number of Input parameters");
end

select(rhs)
	case 1 then
		y= callOctave("hanning", m);
	case 2 then
		y= callOctave("hanning", m , varargin(1));
end
endfunction