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

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

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