formula
cfit、sfit 或 fittype 对象的公式
语法
formula(fun)
说明
formula(fun) 以字符数组形式返回 cfit、sfit 或 fittype 对象 fun 的公式。
示例
f = fittype('weibull');
formula(f)
ans =
a*b*x^(b-1)*exp(-a*x^b)
g = fittype('cubicspline');
formula(g)
ans =
piecewise polynomial版本历史记录
在 R2006b 中推出
另请参阅
fittype | coeffnames | numcoeffs | probnames | coeffvalues