cfit
Constructor for cfit object
Description
constructs the cfun = cfit(ffun, coeff1,...,coeffn)cfit object cfun using the model type specified by the fittype object ffun and the coefficient values coeff1, coeff2, etc.
Note
cfit is called by the fit function when fitting fittype objects to data. To create a cfit object that is the result of a regression, use fit.
You should only call cfit directly if you want to assign values to coefficients and problem parameters of a fittype object without performing a fit.
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 |
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a