Line | |
---|
1 | function Y = ifft(X) |
---|
2 | % IFFT Discrete Quaternion Fourier transform. |
---|
3 | % (Quaternion overloading of standard Matlab function, but only one parameter.) |
---|
4 | % (The parameters N and dim of the standard function are not yet implemented.) |
---|
5 | % |
---|
6 | % This function implements a default quaternion inverse FFT. See the related |
---|
7 | % function IQFFT, which implements inverse transforms with left or right |
---|
8 | % exponentials and a user-specified axis. |
---|
9 | |
---|
10 | % Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan. |
---|
11 | % See the file : Copyright.m for further details. |
---|
12 | |
---|
13 | % Implementation note: keeping QFFT separate means that the quaternion-specific |
---|
14 | % parameters (axis and left/right) are kept separate from the Matlab standard |
---|
15 | % parameters (N and dim) which might be added here at a later date. |
---|
16 | |
---|
17 | error(nargchk(1, 1, nargin)), error(nargoutchk(0, 1, nargout)) |
---|
18 | |
---|
19 | Y = iqfft(X, dft_axis(isreal(X)), 'L'); |
---|
Note: See
TracBrowser
for help on using the repository browser.