Curve Fitting Toolbox | ![]() ![]() |
Evaluate a fit result object or a fit type object
Syntax
Arguments
Description
f = feval(fresult,x)
evaluates the fit result object fresult
at the values specified by x
, and returns the result to f
. You create a fit result object with the fit
function.
f = feval(ftype,coef1,coef2,...,x)
evaluates the fit type object ftype
using the coefficients specified by coef1
, coef2
, and so on. You create a fit type object with the fittype
function.
Remarks
You can also evaluate a fit result or a fit type object using the following syntax.
Example
Create a fit type object and evaluate the object at x
using the specified model coefficients.
Create a fit result object and evaluate the object over a finer range in x
.
See Also
![]() | excludedata | fit | ![]() |