How can I code for cosine fit ?
1 回表示 (過去 30 日間)
古いコメントを表示
How can I write code for smooth cosine fit for given data and find residual ?
2 件のコメント
回答 (1 件)
Image Analyst
2013 年 3 月 25 日
Any signal is composed of lots of cosines - that's basically what the Fourier transform (spectrum) is. It's the strength (weight) of all the cosines that can go into building up your signal. Maybe just take the Fourier Transform and look for the highest frequency to determine the frequency of cosine that is contributing most to your signal. Once you know the frequency, just construct a signal and subtract it from your original signal, etc.
4 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!