How does number of points change a FFT in MATLAB
When taking fft(signal, nfft) of a signal, how does nfft change the outcome and why? Can I have a fixed value for nfft, say 2^18 , or do I need to go 2^nextpow2(2*length(signal)-1) ? I am computing the power spectral density(PSD) of two signals by taking the FFT of the autocorrelation, and I want to compare the the results. Since the signals are of different lengths, I am worried if I don't fix nfft, it would make the comparison really hard! There is no inherent reason to use a power-of-two (it just might make the processing more efficient in some circumstances). However, to make the FFTs of