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 (2021). 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?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!