How can I find coefficients for a sinusoidal function?

3 ビュー (過去 30 日間)
Zachary Fisher
Zachary Fisher 2018 年 4 月 20 日
回答済み: Star Strider 2018 年 4 月 20 日
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.

回答 (1 件)

Star Strider
Star Strider 2018 年 4 月 20 日

An oldie but a goodie: Curve fitting to a sinusoidal function (link)

カテゴリ

Help Center および File ExchangeLinear Regression についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by