The correlation of two vectors
[rCol, rOrt, miu, Dmiu]=RM_vec2cor(uN, vN, uM, vM);
uN is eastward component of the vector N
vN is northward component of the vector N
uM is eastward component of the vector M
vM is northward component of the vector M
rCol is the collinear vector correlation coefficient r(||)=(-1...1)
rOrt is the orthogonal vector correlation coefficient r(_|_)=(-1...1)
miu is the vector correlation index miu=(0...1)
Dmiu is angle of the deviation of coordinate systems, with which the vector series would have the largest indicator of vector correlation (miu). Dmiu=(-180...+180).
Ruslan May (2022). RM_vec2cor (https://www.mathworks.com/matlabcentral/fileexchange/67326-rm_vec2cor), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!