coeffnames
cfit、sfit 或 fittype 对象的系数名称
语法
coeffs = coeffnames(fun)
说明
coeffs = coeffnames(fun) 以 n×1 字符向量元胞数组 coeffs 形式返回 cfit、sfit 或 fittype 对象 fun 的系数(参数)名称,其中 n = numcoeffs(fun)。
示例
f = fittype('a*x^2+b*exp(n*x)');
ncoeffs = numcoeffs(f)
ncoeffs =
3
coeffs = coeffnames(f)
coeffs =
'a'
'b'
'n'版本历史记录
在 R2006b 中推出
另请参阅
fittype | formula | numcoeffs | probnames | coeffvalues