2022-01-11 02:47 AM
I took the input and output and copied them to Python.
I used fft in Python on the input data.
In addition, I arranged in Python the output of arm_rfft_q15 by calculating the magnitude of the numbers (where each pair of consecutive indexes represents the real and imaginary parts of a number) and then I applied fftshift on the data.
The input, and the fft from python and arm_fft_q15 are attached.
I don't understand why I do not get the same result from python and from arm_fft. Python's result seems logical (one peak at the oscillation frequency) and arm_fft's result are not make sense. Why do I get a lot of peaks and how do I convert the indexes to frequency?
2024-09-04 08:39 PM
I am also stock by this problem, if you find answer, please tell me~ thanks~