FFT and accelerometer data: why am I getting this output?
问题 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 executing this FFT implementation on my accelerometer data array in the following way: int length = data.size(); double[] re = new double[256]; double[] im = new double[256]; for (int i = 0; i < length; i++) { input[i] = data[i]; } FFT fft = new FFT(256); fft.fft(re, im); float outputData[] = new float[256]; for (int i = 0; i < 128; i++)