Would anyone know if there is any relationship between the FFT amplitude vs. data length?
For instance, in Matlab,
signal_30k had 30,000 data points,
sampled at 1000 Hz,
and I do this:
fft_amplitudes = abs( fft( signal_30k ) );
then dominant frequency's resulting amplitude is some number.
but the same signal with the same frequency components,
signal_500k had 500,000 data points,
also sampled at 1000 Hz,
and had the same operation done on it:
fft_amplitudes = abs( fft( signal_500k ) );
the same dominant frequency's resulting amplitude would be another number but much larger.
Is there any relationship between the number of data points and the resulting amplitude that comes out of the FFT? The goal is to ensure that regardless of the number of samples, the amplitudes have some means of being compared with one another.
Any help would be greatly appreciated.