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