Correlation confiscation in matlab

The following Matlab project contains the source code and Matlab examples used for correlation confiscation . 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);

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
cor.m 214
license.txt 1312