How can I find coefficients for a sinusoidal function?

The user inputs data in xy pairs separated into columns. The code is supposed to give a sinusoidal regression fit using only simple matlab functions, no toolkit or addons of any kind. I know the format is supposed to be Asin(B*X+C)+D, bud don't know what function can find these coefficients. I have very minimal experience with coding so some explanation would also be appreciated.

카테고리

도움말 센터 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

태그

질문:

2018년 4월 20일

답변:

2018년 4월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by