cfit
cfit 对象的构造函数
说明
使用 cfun = cfit(ffun, coeff1,...,coeffn)fittype 对象 ffun 指定的模型类型和系数值 coeff1、coeff2 等构造 cfit 对象 cfun。
注意
cfit 由 fit 函数在对数据进行 fittype 对象拟合时调用。要创建作为回归结果的 cfit 对象,请使用 fit。
如果您要为 fittype 对象的系数和问题参数赋值,而不执行拟合,则应只直接调用 cfit。
Methods of cfit objects:
| argnames | Input argument names of cfit, sfit, or fittype object |
| category | Category of fit of cfit, sfit, or fittype object |
| cfit | Constructor for cfit object |
| coeffnames | Coefficient names of cfit, sfit, or fittype object |
| coeffvalues | Coefficient values of cfit or sfit object |
| confint | Confidence intervals for fit coefficients of cfit or sfit object |
| dependnames | Dependent variable of cfit, sfit, or fittype object |
| differentiate | Differentiate cfit or sfit object |
| formula | Formula of cfit, sfit, or fittype object |
| indepnames | Independent variable of cfit, sfit, or fittype object |
| integrate | Integrate cfit object |
| islinear | Determine if cfit, sfit, or fittype object is linear |
| numargs | Number of input arguments of cfit, sfit, or fittype object |
| numcoeffs | Number of coefficients of cfit, sfit, or fittype object |
| probnames | Problem-dependent parameter names of cfit, sfit, or fittype object |
| probvalues | Problem-dependent parameter values of cfit or sfit object |
| setoptions | Set model fit options |
| type | Name of cfit, sfit, or fittype object |
示例
输入参数
输出参量
版本历史记录
在 R2006a 之前推出