Automatic Complex Conjugate in ftt
13 次查看(过去 30 天)
显示 更早的评论
So I am computing the fft of an array containing vectors. The documentation says that the fft treats each collumn as a vector and computes the fft of each collumn. This means that the following should be the same:
% F1 and F2 should be equal
data = rand(4,100)
F1 = fft(data')' ; % F1
F2 = zeros(size(data)) ;
for n = 1:4
F2(n,:) = fft(data(n,:)) ; % F2
end
But they are not equal. In fact, F2 is the complex conjugate of F1. Does anyone know why this is this happening?
0 个评论
采纳的回答
David Goodmanson
2019-11-26
Hello Ha Oe
the quote command is not just the transpose, it's the complex conjugate transpose (Hermetian conjugate). For the straight transpose, use .' (dot quote).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!