source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/qtfm/@quaternion/fft.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 846 bytes
Line 
1function 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
17error(nargchk(1, 1, nargin)), error(nargoutchk(0, 1, nargout))
18
19Y = qfft(X, dft_axis(isreal(X)), 'L');
Note: See TracBrowser for help on using the repository browser.