I have sampled digital signal with noise. I want to get main frequency of this signal how to do it? Currently it is smoothed by moving average. Is good way to make Fourier Transform an take the highest peak? Or the first peak?
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.Sign up to join this community
Generally, yes, you should perform FFT and take the highest peak from the first half of the transformed signal. However, if the frequency your are looking for is constant (or close to constant), i.e. doesn't change (much) throughout the observation time, I would recommend using Welch's method instead of a simple FFT.
If the accuracy is not good enough you can perform interpolation around the peak, or on the entire signal using zero-padding.