フィルターのクリア

Why there is an error of undefined function 'coeffvalues' for input arguments of type 'fittype'

1 回表示 (過去 30 日間)
avi brillant
avi brillant 2017 年 6 月 13 日
回答済み: Andrew Shum 2017 年 6 月 13 日
Hi All
I am trying to get the coefficients values for AM-AM curve fit to Rapp model function.
Using the toolbox of curvefit I generated a script.
However, I could not get the values using the command
k = coeffvalues(fun). where k is valus vector fun is function of Rapp model.
Error is : undefined function 'coeffvalues' for input arguments of type 'fittype'
Appreciate your help and assistance
Kind Regards
Av

回答 (1 件)

Andrew Shum
Andrew Shum 2017 年 6 月 13 日
Based on the error, it looks like you are passing a fittype object instead of a cfit or sfit object. Look at the example in the MatLab documentation.
https://www.mathworks.com/help/curvefit/coeffvalues.html#f3-588092

カテゴリ

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