How do I display the R^2 value of an exponential fit using generated code?

I can't figure out the code necessary to print the R^2 value to the command window. When i use the curve fitting toolbox I can see the R^2 value, but not when i use the generated code. Please help!

Answers (0)

Categories

Asked:

on 10 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!