correlation confiscation
版本 1.0.0.0 (1.1 KB) 作者:
ahmed majeed
to find the correlation coefficient between carves
to find the correlation coefficient between carves
function rr=cor(yyn,yon)
n=length(yon); %yon x..outher..yo1 yyn...y ..adopted..yn1
a=n*sum(yon.*yyn)-sum(yon)*sum(yyn);
b=sqrt((n*sum(yon.^2)-(sum(yon))^2)*(n*sum(yyn.^2)-(sum(yyn))^2));
rr=(a/b);
引用格式
ahmed majeed (2024). correlation confiscation (https://www.mathworks.com/matlabcentral/fileexchange/43634-correlation-confiscation), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Correlation and Convolution >
在 Help Center 和 MATLAB Answers 中查找有关 Correlation and Convolution 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |