Is there any way to calculate R^2 (correlation coefficient) in Matlab directly?

25 views (last 30 days)
I would like to calculate R^2 in easy way in matlab? How can I do that?
Thanks in advance

Accepted Answer

the cyclist
the cyclist on 14 Jun 2016
The corrcoef function calculates correlation.

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!