필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
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 CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by