File Exchange

image thumbnail


version (2.41 KB) by Gautam Vallabha
Calculate correlation coefficient for 2-d directional and circular data

1 Download

Updated 01 Sep 2016

View License

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

Cite As

Gautam Vallabha (2020). corrcoef_directional.m (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

adam phillips

can you explain what the inputs to the function are? are t1 and t2 sets of angles and amplitudes, or x,y coordinates?


Updated license

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.

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux