how to calculate Correlation coefficient 'R' value smae as displayed in my regression plot using Neural networks?
1 次查看(过去 30 天)
显示 更早的评论
Hi there, would anybody like to explain me how to calculate the same "R" value as displayed in grapgh kindly see attachment.
0 个评论
采纳的回答
KSSV
2018-8-28
Read about functions regression and corr2
th = linspace(0,2*pi) ;
x1 = sin(th) ;
x2 = sin(th)+rand(size(th)) ;
plotregression(x1,x2)
% Method 1
regression(x1,x2)
% MEthod 2
corr2(x1,x2)
5 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!