probnames
cfit
、sfit
或 fittype
对象的问题相关参数名称
语法
pnames = probnames(fun)
说明
pnames = probnames(fun)
以字符向量元胞数组形式返回 cfit
、sfit
或 fittype
对象 fun
的问题相关(固定)参数的名称。
示例
f = fittype('(x-a)^n + b','problem',{'a','b'}); coeffnames(f) ans = 'n' probnames(f) ans = 'a' 'b' load census c = fit(cdate,pop,f,'problem',{cdate(1),pop(1)},... 'StartPoint',2); coeffvalues(c) ans = 0.9877 probvalues(c) ans = 1.0e+003 * 1.7900 0.0039
版本历史记录
在 R2006b 中推出