So i am making 2 signals x and h
i am finding y=their convolution the size of the matrix is 401
i am finding the fft of x and h and i make the Y=X.*H
when i am using ifft(Y) the number 1 and 401 whitch are complex are wrong while the rest 399 are right
do you know what's the fault?

댓글 수: 1

Walter Roberson
Walter Roberson 2020년 12월 7일
can you attach your data? It worked fine for me for random testing

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

답변 (2개)

Star Strider
Star Strider 2020년 12월 7일

0 개 추천

Those numbers (indices 1 and 401) are likely the D-C (or constant) values of the Fourier transform. The entire vector will be complex, however the imaginary values for 1 and 401 should be vanishingly small (close to the eps value), especially when compared to the imaginary parts of the other values.

카테고리

도움말 센터 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

제품

릴리스

R2019b

태그

질문:

2020년 12월 7일

답변:

2020년 12월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by