FFT and accelerometer data: why am I getting this output?

前端 未结 2 1836
忘掉有多难
忘掉有多难 2021-01-16 01:39

I have read various posts here at StackOverflow regarding the execution of FFT on accelerometer data, but none of them helped me understand my problem.

I am executin

相关标签:
2条回答
  • 2021-01-16 01:55

    Because all your data on left are above 0, for frequency analyze it is a DC signal. So after your fft, it abstract the DC signal out, it is very hugh. For your scene, you only need to cut off the DC signal, just preserve the signal over 0 Hz(AC signal), that makes sense.

    0 讨论(0)
  • 2021-01-16 02:12

    The low frequency artefacts are probably due to a lack of windowing. Try applying a window function.

    The overall shift is probably due to different scaling factors in the two different FFT implementations - my guess is that you are seeing a shift of 24 dB which corresponds to a difference in scaling by a factor of 256.

    0 讨论(0)
提交回复
热议问题