Constructing an FFT-like result array.
이전 댓글 표시
Background: From a known complex frequency response, one can "build" an array that should look like the output of fft() by appending the conjugate array in reverse to the end of the original. Then, running the resulting array through ifft() gives the time domain impulse response. Question: Are there requirements or constraints on the endpoints, midpoint/midgap, number of array elements in either half, etc? For example, I have seen a 5000 element array constructed as follows: element 1 = 0+j0, elements 2-2501 are the original complex frequency response, elements 2502-5000 are the conjugates of elements 2500-2 (so 2500=2502*, 2499=2503* … 2=5000*), with element 2501 changed to abs() of itself. So elements 1 and 2501 seem to be "special". Now, I ran ifft() on that 5000 element array constructed as described, and again with element 2501 left as the original complex number. There was no visible difference in the calculated impulse response. So these observations have made me wonder what is the proper way to handle endpoints and midpoint (or midgap) of the array, in general.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Array and Matrix Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!