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

endfunction