RM_vec2cor

Function for calculation of correlation coefficients of two vectors

You are now following this Submission

The correlation of two vectors
[rCol, rOrt, miu, Dmiu]=RM_vec2cor(uN, vN, uM, vM);

INPUT
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
OUTPUT
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).

Cite As

Ruslan May (2026). RM_vec2cor (https://in.mathworks.com/matlabcentral/fileexchange/67326-rm_vec2cor), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0