Graphics Previous page   Next Page

Analyzing Graphical Data

You can perform some analysis directly on graphs with the following tools:

Data Analysis and Statistics section describes more data analysis options.

Basic Curve Fitting

Suppose you have recorded the following values of y at the corresponding intervals of t and you want to fit the data to a polynomial.

First graph the data:

Next display the Basic Fitting tool by selecting Basic Fitting from the Tools menu. Try to fit the data to a cubic polynomial.

When you check cubic, the Basic Fitting tool fits the data to a cubic polynomial and displays a graph of the polynomial over the same range as your data. The tool also (optionally) displays the equation showing the coefficients used to fit the data.

Click the tool's Help button for more information. Aslo see the documentation for the Basic Fitting Interface for additional details about this interface.


Previous page  Rotate 3D -- Interactive Rotation of 3-D Views Adding Plots of Basic Statistics to Graphs Next page

© 1994-2005 The MathWorks, Inc.