How to find the fundamental frequency of a noisy periodic signal?
68 views (last 30 days)
Show older comments
Sindhu Jettira Chengappa
on 22 Jan 2019
Commented: Image Analyst
on 4 Feb 2019
The periodic signal can have fundamental frequency can range from 1 Hz to 15000hz.
Lets say a periodic signal of 50hz is generated. To this we add noise.
So this is our input: Noisy periodic signal.
Goal: We need to extract the fundamental frequency of this signal. There is only one harmonic. Please let me know how to go about it?
0 Comments
Accepted Answer
Image Analyst
on 22 Jan 2019
Use fft(). Then use the second return argument of max() to find the index of the highest signal. That's your fundamental frequency's index.
12 Comments
Image Analyst
on 4 Feb 2019
Look up max() in the help. The first value is the max value and the second value is the index where that max value occurs at.
[maxValue, indexOfMaxValue] = max(fftSignal);
More Answers (0)
See Also
Categories
Find more on Parametric Spectral Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!