Data driven fitting allows you to generate a fit without specifying a parametric equation that describes the relationship between your variables.
Fitit.m is a simple function for data driven curve fitting.
FititDemo.m illustrates how to use fitit to generate a curve fit.
Load_Forecasting.m demonstrates building a short term electricity load (or price) forecasting system with MATLAB. Three non-linear regression models (Boosted Decision Trees, Bagged Decision Trees, and Neural Networks) are calibrated to forecast hourly day-ahead loads given temperature forecasts, holiday information and historical loads. The models are trained on hourly data from the NEPOOL region (courtesy ISO New England) from 2004 to 2007 and tested on out-of-sample data from 2008.