How to get the fundamental frequency magnitude ?
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
0 votes
Share a link to this question
https://au.mathworks.com/matlabcentral/answers/128351-how-to-get-the-fundamental-frequency-magnitude
Accepted Answer
1 vote
12 Comments
- You probably can. I used the entire column in one part of my code because I didn’t get sufficiently detailed FFT results with only 400 samples ( 26 ms ) of a 60 Hz signal. That was only about 1.56 cycles, not enough for a reliable analysis, and gave a peak frequency of about 75 Hz, obviously wrong in the context of a longer and more reliable signal, and an inaccurate amplitude.
- Your signal had three components, an initial 100 ms = 1537 sample segment (that I used as Pls1), a second smaller-amplitude segment with the same frequency about as long, and a third segment that seemed to repeat the first 100 ms. (There also appeared to be switching transients. They appeared in the analysis of the entire signal, but I did not include them in Pls1. I ignored all but the first 100 ms in my analysis that I posted here.) That was a longer version of the first 400 samples you wanted to use, and gave better results. I called it ‘Pulse#1’ for lack of a better term, and abbreviated it to Pls1. The FFT of Pls1 gave good results. The FFT of the first 400 samples did not.
More Answers (0)
Categories
Find more on Spectral Measurements in Help Center and File Exchange
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)