Automatic Complex Conjugate in ftt

조회 수: 3 (최근 30일)
Ha Oe
Ha Oe 2019년 11월 26일
댓글: Ha Oe 2019년 11월 26일
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?

채택된 답변

David Goodmanson
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).
  댓글 수: 1
Ha Oe
Ha Oe 2019년 11월 26일
Thank you. That now all makes sense.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by