How can I code for cosine fit ?
이전 댓글 표시
답변 (1개)
Image Analyst
2013년 3월 25일
0 개 추천
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
RS
2013년 3월 26일
Image Analyst
2013년 3월 26일
I guess I'd start by making X and Y have the same number of elements. Why don't they?
RS
2013년 4월 2일
카테고리
도움말 센터 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!