Acceleration vs Time data into FFT
38 views (last 30 days)
More Answers (1)
Shoaibur Rahman on 17 Jan 2015
Define the number of DFT points N, and then perform the fft.
N = pow2(nextpow2(length(signal)));
y = fft(signal,N);
If the length of your signal is a big number then set the value of N manually to a lower value, like N = 64, 128, 256, etc. This will make your figure to look better sometime, but note that that may not be accurate always from the computational point of view.