| Communications Toolbox | ![]() |
After you run a simulation with BERTool, the BER Figure window plots individual BER data points. To fit a curve to a data set that contains at least four points, check the box in the Fit column of the data viewer.
The plot in the BER Figure window responds immediately to your choice. A sample plot is below.

For an example that performs curve fitting for data from a Simulink simulation and generates the plot shown above, see Example: Using a Simulink Model with BERTool. For an example that performs curve fitting for data from a MATLAB simulation function, see Example: Preparing a Simulation Function for Use with BERTool.
For greater flexibility in the process of fitting a curve to BER data, use the berfit function.
| Plotting Confidence Intervals | Preparing Simulation Functions for Use with BERTool | ![]() |
© 1994-2005 The MathWorks, Inc.