correlation confiscation
Version 1.0.0.0 (1.07 KB) by
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);
Cite As
ahmed majeed (2026). correlation confiscation (https://ch.mathworks.com/matlabcentral/fileexchange/43634-correlation-confiscation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Correlation and Convolution >
Find more on Correlation and Convolution in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Exponentiation series and correlation without using built in
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
