Curve Fitting Toolbox    

Exploring the Toolbox

The Curve Fitting Toolbox consists of two different environments: a graphical user interface (GUI) environment and the usual MATLAB command line environment.

Although the two environments are functionally equivalent, you generally cannot mix the two when performing a given curve fitting task. For example, you cannot generate a fit at the command line and then import that fit into the graphical environment. However, you can create a fit in the graphical environment and then generate an associated M-file. You can then recreate the fit from the command line and modify the M-file according to your needs. For this reason, as well as for the enhanced data analysis and exploration tools that are available, we recommend you use the graphical environment for most tasks.

You can explore the graphical environment by typing

Click the GUI Help buttons to learn how to proceed. Additionally, you can follow the examples in the tutorial sections of this guide, which are all GUI oriented.

To explore the command line environment, you can list the toolbox functions by typing

To view the code for any function, type

To view the help for any function, type

You can change the way any toolbox function works by copying and renaming the M-file, and then modifying your copy. However, these changes will not be reflected in the graphical environment.

You can also extend the toolbox by adding your own M-files, or by using it in combination with other products such as the Statistics Toolbox or the Optimization Toolbox.


  What Is the Curve Fitting Toolbox? Related Products