Lab 5: cftool, for-loops and functions

Using cftool


  • MATLAB's interactive curve fitting tutorial is a good place to start.
  • Type cftool in MATLAB's command window.
  • Then type load census to load in some data (that is predefined in MATLAB).
  • We'll work through the highlights of the tutorial to learn how to use the Curve Fitting Toolbox.
  • Here is an informative page on goodness of fit measures