You can use the polyfit and polyval functions
here you can find some examples
http://nte.mines-albi.fr/MATLAB/co/uc_NonLineaire.html (if you speak French)
If you are looking for something more powerful, you should have a look at this toolbox
wish u the best