How can I code for cosine fit ?
Afficher commentaires plus anciens
Réponses (1)
Image Analyst
le 25 Mar 2013
0 votes
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 commentaires
RS
le 26 Mar 2013
Image Analyst
le 26 Mar 2013
I guess I'd start by making X and Y have the same number of elements. Why don't they?
RS
le 2 Avr 2013
Catégories
En savoir plus sur Multirate Signal Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!