greenfrog
Junior Member level 1
get a power from fft
Hello:
I have struggled for days on this problem:
I have a sequency of time points. Assume they are correponding to the zero-cross time points of a sine-like
waveform. From this wave, I can approximately re-construct some sample points by assuming a sine wave connecting two adjacent time points.
Then I use FFT to study its power spectrum. Assume the center frequency is F_c, and my data actually should has small fructuation around F_c. Therefore, I am very interested in the close-in range of F_c on the power spectrum.
Does this mean I have to use a very long window to get high resolution?
I use my method to deal with an ideal sample sequency from an ideal sine wave of F, I found that the generated power spectrum is far from ideal: there are quite some energy on other frequencies than F, and the attenuation from F is not fast. The ideal case is an impulse, but the plot is far from an impulse.
Any idea on how to improve the way of using FFT? Thank you very very much My goal is to see an near-impulse response for an ideal sine wave sample points sequence and does not suffer long computation time.
BTW, I use Matlab. Sometimes I donot pay attention to let fft to generate 2^m points, I just use an arbitrarily large number L and assume Matlab will automatically generated 2^n points, where n is the smallest number for 2^n > L. Is this true that Matlab will do that?
Hello:
I have struggled for days on this problem:
I have a sequency of time points. Assume they are correponding to the zero-cross time points of a sine-like
waveform. From this wave, I can approximately re-construct some sample points by assuming a sine wave connecting two adjacent time points.
Then I use FFT to study its power spectrum. Assume the center frequency is F_c, and my data actually should has small fructuation around F_c. Therefore, I am very interested in the close-in range of F_c on the power spectrum.
Does this mean I have to use a very long window to get high resolution?
I use my method to deal with an ideal sample sequency from an ideal sine wave of F, I found that the generated power spectrum is far from ideal: there are quite some energy on other frequencies than F, and the attenuation from F is not fast. The ideal case is an impulse, but the plot is far from an impulse.
Any idea on how to improve the way of using FFT? Thank you very very much My goal is to see an near-impulse response for an ideal sine wave sample points sequence and does not suffer long computation time.
BTW, I use Matlab. Sometimes I donot pay attention to let fft to generate 2^m points, I just use an arbitrarily large number L and assume Matlab will automatically generated 2^n points, where n is the smallest number for 2^n > L. Is this true that Matlab will do that?