blob: b027489e88527239c855d404c289833e7489a4b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
function y = czt(x, varargin)
funcprot(0);
lhs= argn(1);
rhs= argn(2);
if(rhs<1 | rhs > 4)
error("Wrong number of input arguments")
end
select (rhs)
case 1 then
y= callOctave("czt", x);
case 2 then
y= callOctave("czt", x, varargin(1));
case 3 then
y= callOctave("czt", x, varargin(1), varargin(2));
case 4 then
y= callOctave("czt", x, varargin(1), varargin(2), varargin(3));
end
endfunction
|