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).
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.
Create scripts with code, output, and formatted text in a single executable document.