User`s guide

fitoptions
4-106
4fitoptions
Purpose Create or modify a fit options object
Syntax opts = fitoptions
opts = fitoptions('ltype')
opts = fitoptions('ltype','PropertyName',PropertyValue,...)
opts = fitoptions('method',value)
opts = fitoptions('method',value,'PropertyName',PropertyValue,...)
opts = fitoptions(opts,'PropertyName',PropertyValue,...)
opts = fitoptions(opts,newopts)
Arguments
Description
opts = fitoptions creates the empty fit options object opts. The returned
options are supported by all fitting methods, and are given by the following
properties. Note that curly braces denote default property values.
'ltype' The name of a library model, spline, or interpolant.
'PropertyName' The name of a fit options property.
PropertyValue A valid value for PropertyName.
method Specify a toolbox fitting method.
value A supported fitting method.
opts,newopts A fit options object.
Property Description
Normalize
Specifies whether the data is centered and scaled. The
value can be
{'off'} or 'on'.
Exclude A vector of one or more data points to exclude from the fit.
You can use the
excludedata function to create this vector.
Weights A vector of weights associated with the response data.
Method The fitting method. The value is None for an empty object. A
complete list of supported fitting methods is given below.