HOW TO FIND THE R-SQUARED VALUE

33 views (last 30 days)
DEWDROP
DEWDROP on 10 May 2020
Commented: DEWDROP on 15 May 2020
Hi,
i have plotted the graph using fitlm of wikinson notation as shown here where i have forced the intercept of the fitted line to be zero. How to find out the Rsquared value directly displaced on the command window.???
Thanks in advance

Accepted Answer

Peng Li
Peng Li on 10 May 2020
mdl.Rsquared
check https://www.mathworks.com/help/stats/linearmodel.html for properties and methods related to linear regression model.
  3 Comments
DEWDROP
DEWDROP on 15 May 2020
yes.i meant the default command window output

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by