Rev | Line | |
---|
[37] | 1 | function Y = fft(X) |
---|
| 2 | % FFT 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 FFT. See the related function |
---|
| 7 | % QFFT, which implements transforms with left or right exponentials and a |
---|
| 8 | % 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 = qfft(X, dft_axis(isreal(X)), 'L'); |
---|
Note: See
TracBrowser
for help on using the repository browser.