How to find Coefficient R
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
Sam Chak
2022 年 6 月 2 日
Corrected. Please check.
R = (sum((x-meanx).*(y-meany)))./(sqrt((sum((x-meanx).^2)).*(sum((y-meany).^2))))
r2 = R^2
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!