Curve Fitting Toolbox    
cfit

Create a cfit object

Syntax

Arguments

ftype
A fit type object representing a custom or library model.
coef1,coef2,...
The model coefficients.
fmodel
The cfit object.

Description

fmodel = cfit(ftype,coef1,coef2,...) creates the cfit object fmodel based on the custom or library model specified by ftype, and with the coefficients specified by coef1, coef2, and so on. You create ftype with the fittype function.

Remarks

cfit is called by the fit function. You should call cfit directly if you want to assign coefficients and problem parameters to a model without performing a fit.

Example

Create a fit type object and assign values to the coefficients and to the problem parameter.

See Also

fit, fittype


  Functions - Alphabetical List cflibhelp