Calculates the correlation coefficient for 2-d directional and circular data, e.g., if you have one set of 2-d movements and want to compare them to a second (paired) set of 2-d movements.
The input to the function is two Nx2 matrices (each matrix specifies the x,y coordinates of N data points).
Gautam Vallabha (2019). corrcoef_directional.m (https://www.mathworks.com/matlabcentral/fileexchange/16028-corrcoef_directional-m), MATLAB Central File Exchange. Retrieved .
1.0.0.1 | Updated license |
|
1.0.0.0 | Update to the documentation & help text. |
|
I had mistakenly posted CORRCOEF_CANONICAL (which is actually another File Exchange submission) rather than CORRCOEF_DIRECTIONAL. This submission is the correct file. |
Create scripts with code, output, and formatted text in a single executable document.
can you explain what the inputs to the function are? are t1 and t2 sets of angles and amplitudes, or x,y coordinates?