Why using the formula of R-square from Matlab help cannot get the same value as Matlab curve fitting tool?

2 views (last 30 days)
When I use the curve fitting tool of Matlab, after the regression, a R-square will always be given. However, I checked the "help" of Matlab about this charpter and get the following formulas:
but when I use script to verify, I got different values from my test script and the Matlab cftool.
Can anyone help me with it ??!!

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!