function Y = ifft2(X) % IFFT2 Discrete Quaternion Fourier transform. % (Quaternion overloading of standard Matlab function, but only one parameter.) % (The parameters m and n of the standard function are not yet implemented.) % % This function implements a default quaternion inverse 2D-FFT. See the related % function IQFFT2, which implements inverse transforms with left or right % exponentials and a user-specified axis. % Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan. % See the file : Copyright.m for further details. % Implementation note: keeping IQFFT2 separate means that the quaternion-specific % parameters (axis and left/right) are kept separate from the Matlab standard % parameters (n and m) which might be added here at a later date. error(nargchk(1, 1, nargin)), error(nargoutchk(0, 1, nargout)) Y = iqfft2(X, dft_axis(isreal(X)), 'L');