EzyFit Function Reference | << Prev | Next >>

makevarfit
Create variables from the parameters of a fit
Description `

    makevarfit(F) creates (in the Matlab workspace) the variables that
    contain the numerical values of the parameters from the fit F.

    If you want the variables to be automatically created in the Matlab
    workspace at each call of ezfit, showfit or selectfit, set the option
    'automakevarfit = on' in fitparam.

    If the input argument F is not specified, use the last fit.

Example

      Some sample data are fitted by a 2nd order polynom, and the
      three variables 'a','b','c', which contain the numerical values
      of the parameters, are created in the workspace:
         plotsample('poly2');
         f = showfit('a*x^2+b*x+c');
         makevarfit(f);
         whos

See Also

    ezfit, showfit, selectfit, editcoeff.

`

Previous: logy | Next: myginput

2005-2008 EzyFit Toolbox 2.20