sfit
sfit 对象的构造函数
说明
使用 surfacefit = sfit(fittype,coeff1,...,coeffn)fittype 对象指定的模型类型和系数值 coeff1、coeff2 等构造 sfit 对象 surfacefit。
sfit 对象封装对数据进行曲面拟合的结果。它们通常通过调用 fit 函数来构造,或通过将拟合从曲线拟合器导出到工作区以交互方式构造。您可以获取和设置 sfit 对象的系数属性。
您可以将 sfit 对象视为函数来进行预测或计算在 X 和 y 值处的曲面。
像 cfit 类一样,sfit 继承所有 fittype 方法。
注意
sfit 由 fit 函数在对数据进行 fittype 对象拟合时调用。要创建作为回归结果的 sfit 对象,请使用 fit。
如果您要为 fittype 对象的系数和问题参数赋值,而不执行拟合,则应只直接调用 sfit。
Methods of sfit objects :
| argnames | Input argument names of cfit, sfit, or fittype object |
| category | Category of fit of cfit, sfit, or fittype 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 |
| 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 |
| quad2d | Numerically integrate sfit object |
| setoptions | Set model fit options |
| sfit | Constructor for sfit object |
| type | Name of cfit, sfit, or fittype object |
示例
输入参数
输出参量
版本历史记录
在 R2009a 中推出