 MaplePortal/CurveFittingParameterEstimation - Maple Help

 Curve Fitting and Parameter Estimation

Maple has many tools for curve fitting and parameter estimation.  Here, for example, we fit a polynomial to data.

 > $\mathrm{data}≔\left[\left[1,2.3\right],\left[2,5\right],\left[3,4\right],\left[4,5\right],\left[5,8\right]\right]:$
 >
 ${2.74000000000000}{+}{0.0257142857142819}{}{v}{+}{0.185714285714286}{}{{v}}^{{2}}$ (1)

There are tools in the CurveFitting and Statistics package for curve fitting. You can also create your own least-squares error function, and minimize it using the Optimization package.

The precise command and technique depends on the type of curve or model you are fitting. The table below gives a guide to the functionality, with links to worked examples.

 Type of Equation or Model Function Application Linear function Spline  Black-box procedure with potential multiple regions, conditional statements, etc. Nonlinear function PV Diode Parameter Estimation Differential equations Probability Distribution via MLE and moment matching Transfer function System ID for a Spring Mass Damper

 Applications Optimize a Rankine Cycle  PV Diode Parameter Estimation