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 (2020). corrcoef_directional.m (https://www.mathworks.com/matlabcentral/fileexchange/16028-corrcoef_directional-m), MATLAB Central File Exchange. Retrieved .
can you explain what the inputs to the function are? are t1 and t2 sets of angles and amplitudes, or x,y coordinates?
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.