Finding the fundamental and overtones with amplitude and phase amongst samples in a time-signal
6 次查看(过去 30 天)
显示 更早的评论
I have a time-signal containing a few hundred samples. The saved samples is exactly on period long. I need to find the fundamental (the sine-wave that has exactly one period from the first to the last sample) and optionally the first 16 overtones in the signal. I also need information about the amplitude and phase for the different sine waves). How can I do this and what toolbox is needed?
Earlier I used Excel with a plug-in from NumXL that was capable of doing a DFT and IDFT. When doing a IDFT I was able to chose whitch components to include, e.g. the dc-offset and the fundamental only. It worked fine but of some reasons I need to use Matlab instead.
Below is a picture showing the result when doing this operation in excel (IDFT with the first two components).
0 个评论
回答(1 个)
David Ding
2017-10-16
Hi Ejje,
I understand that you have a periodic time sample (of one period) and you would like to perform Fourier Series analysis to find the corresponding tones of the signal. In MATLAB, you may do so via fitting the signal with a curve comprised of the Fourier Series (up to how many tones you would like to include). This requires only the "Curve Fitting Toolbox".
Example below:
More about Curve Fitting Toolbox below:
Thanks,
David
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!