Curve Fitting Toolbox 

Once you have selected the curve or surface that best describes your data series you can perform postprocessing analysis. Curve Fitting Toolbox enables you to:
The following examples show how postprocessing at the command line applies intuitive commands to the objects created from a fitting operation:
EnergyConsumption = fittedmodel(X, Y)
EnergySurface = plot(fittedmodel)
Volume_Under_Surface = quad2d(fittedmodel, Min_X, Max_X, Min_Y, Max_Y)
Gradient = differentiate(fittedmodel, X,Y)
confidence intervals: Confidence_Intervals = confint(fittedmodel)