MATLAB: Is there a documentation error in the FFT function in MATLAB 7.11 (R2010b)

documentationerrorfftMATLABnegative

In the documentation of FFT in MATLAB 7.11 (R2010b), the nth root of unity is missing the negative sign in the exponential.

Best Answer

This is an error within the documentation in MATLAB for the function FFT. The documentation should read as follows:
w_n = exp(-2*pi*i/N);
The negative sign is missing from the exponential.