plot the fundamental harmonic wave
Ältere Kommentare anzeigen
Hello everyone. I have exported data to an Excel spreadsheet where the x-axis is represented by theta (in radians). How can I plot the fundamental harmonic wave from this wave data?
6 Kommentare
Mathieu NOE
am 20 Nov. 2023
hello
you can work either in time / angular domain , by applying a band pass filter centered at your target frequency (fundamental)
or you can work in the frequency domain (fft your data, then keep only the frequency(ies) of interest and do ifft)
hamid k
am 20 Nov. 2023
Mathieu NOE
am 21 Nov. 2023
well, show me your data (and code) and I will answer you
Star Strider
am 21 Nov. 2023
The fft function only wants ‘theta’ to be sampled at a constant interval. It does not know or care what ‘theta’ actually is (seconds, years, metres, parsecs, radians, degrees, or anything else). The frequency unit will then be the inverse of that (cycles/second, cycles/metre, cycles/parsec, cycles/radian, cycles/degree).
hamid k
am 23 Nov. 2023
Mathieu NOE
am 23 Nov. 2023
see my answer below
Akzeptierte Antwort
Weitere Antworten (1)
Sulaymon Eshkabilov
am 20 Nov. 2023
0 Stimmen
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
