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

2 views (last 30 days)
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)

Community Treasure Hunt

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

Start Hunting!