Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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

Réponses (1)

Andrew Shum
Andrew Shum le 13 Juin 2017
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

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by