summaryrefslogtreecommitdiff
path: root/macros/ifftshift1.sci
blob: 6c5ae8e7ce8c2c62de7d4de87f142f3df2cb3261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function y= ifftshift1(X,DIM)
	rhs= argn(2);
	if(rhs <1 | rhs >2)
		error('Wrong number of Input arguments');
	end
	select(rhs)
	case 1 then
		y=callOctave("ifftshift",X);
	case 2 then
		y=callOctave("ifftshift",X,DIM);
	end
endfunction