[4] | 1 | <html><head><title>makevarfit (Ezyfit Toolbox)</title> |
---|
| 2 | <!-- Help file for makevarfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 --> |
---|
| 3 | <!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ --> |
---|
| 4 | |
---|
| 5 | <link rel=stylesheet href="docstyle1.css" type="text/css"> |
---|
| 6 | </head> |
---|
| 7 | <body bgcolor=#ffffff> |
---|
| 8 | <table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="logy.html"><b><< Prev</b></a> | <a href="myginput.html"><b>Next >></b></a> </td></tr></table> |
---|
| 9 | <font size=+3 color="#990000">makevarfit</font><br> |
---|
| 10 | Create variables from the parameters of a fit<br> |
---|
| 11 | <br> |
---|
| 12 | |
---|
| 13 | <font size=+1 color="#990000"><b>Description</b></font> |
---|
| 14 | <code><pre> |
---|
| 15 | <b>makevarfit</b>(F) creates (in the Matlab workspace) the variables that |
---|
| 16 | contain the numerical values of the parameters from the fit F. |
---|
| 17 | |
---|
| 18 | If you want the variables to be automatically created in the Matlab |
---|
| 19 | workspace at each call of ezfit, showfit or selectfit, set the option |
---|
| 20 | 'automakevarfit = on' in fitparam. |
---|
| 21 | |
---|
| 22 | If the input argument F is not specified, use the last fit. |
---|
| 23 | |
---|
| 24 | </pre> |
---|
| 25 | <font size=+1 color="#990000"><b>Example</b></font> |
---|
| 26 | <pre> |
---|
| 27 | |
---|
| 28 | Some sample data are fitted by a 2nd order polynom, and the |
---|
| 29 | three variables 'a','b','c', which contain the numerical values |
---|
| 30 | of the parameters, are created in the workspace: |
---|
| 31 | plotsample('poly2'); |
---|
| 32 | f = showfit('a*x^2+b*x+c'); |
---|
| 33 | <b>makevarfit</b>(f); |
---|
| 34 | whos |
---|
| 35 | |
---|
| 36 | </pre> |
---|
| 37 | <font size=+1 color="#990000"><b>See Also</b></font> |
---|
| 38 | <pre> |
---|
| 39 | <a href="ezfit.html">ezfit</a>, <a href="showfit.html">showfit</a>, <a href="editcoeff.html">editcoeff</a>. |
---|
| 40 | |
---|
| 41 | Published output in the Help browser |
---|
| 42 | showdemo <b>makevarfit</b> |
---|
| 43 | </pre></code> |
---|
| 44 | |
---|
| 45 | <br> |
---|
| 46 | <table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td> <a href="logy.html"><b>Previous: logy</b></a></td><td align=right><a href="myginput.html"><b>Next: myginput</b></a> </td></tr></table><br> |
---|
| 47 | 2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br> |
---|
| 48 | <br> |
---|
| 49 | </body></html> |
---|