plot the fundamental harmonic wave
显示 更早的评论
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 个评论
Mathieu NOE
2023-11-20
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
2023-11-20
Mathieu NOE
2023-11-21
well, show me your data (and code) and I will answer you
Star Strider
2023-11-21
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
2023-11-23
Mathieu NOE
2023-11-23
see my answer below
采纳的回答
更多回答(1 个)
Sulaymon Eshkabilov
2023-11-20
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
