FFT on dim > 1 returning negative values?
Show older comments
I have a matrix that's [NxT] and I want the fft over the second dimension. But if I do this:
X = rand(100,200);
F1 = fft(X,[],2);
F2 = fft(X')';
figure;
subplot(2,1,1);
plot(real(F2)-real(F1));
subplot(2,1,2);
plot(imag(F2)-imag(F1));
Then, you can see, imag(F1) = -imag(F2). That is, F1 = conj(F2)
Is this a bug or am I misunderstanding something?
Accepted Answer
More Answers (1)
Keith
on 18 Apr 2012
0 votes
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!