フィルターのクリア

Try using or tightening upper and lower bounds on coefficients.

7 ビュー (過去 30 日間)
ali alsabari
ali alsabari 2019 年 8 月 25 日
回答済み: Bjorn Gustavsson 2019 年 8 月 26 日
hello
please i need your help the attatched file is my data and i want to do matlab curve fittining using custom equation:
4.112-k1*exp(-[x-477/m])-k2*exp(-[x-477/d])
i got error as in the title the values in the equation based on knowledge from data itself as paramters that already know and i want to know the other coffecient of the equation .. i have tried many methods and reducing using different algorithm using command but i still get an error please help me with this

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2019 年 8 月 26 日
For arbitrary fitting tasks I personally prefer to use weighted least-square minimization using some optimization function,
if lsqnonlin doesn't work for you you could try the file exchange contributions: fminsearchbnd, minimize. That way I have more direct control of what is done.
HTH

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by