4.0

4.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 2.41 KB File ID: #16028
image thumbnail

corrcoef_directional.m

by Gautam Vallabha

 

21 Aug 2007 (Updated 24 Sep 2007)

Calculate correlation coefficient for 2-d directional and circular data

| Watch this File

File Information
Description

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

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
07 Sep 2007 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?

Please login to add a comment or rating.
Updates
28 Aug 2007

I had mistakenly posted CORRCOEF_CANONICAL (which is actually another File Exchange submission) rather than CORRCOEF_DIRECTIONAL. This submission is the correct file.

24 Sep 2007

Update to the documentation & help text.

Tag Activity for this File
Tag Applied By Date/Time
statistics Gautam Vallabha 22 Oct 2008 09:23:44
probability Gautam Vallabha 22 Oct 2008 09:23:44
directional Gautam Vallabha 22 Oct 2008 14:42:47
correlation coefficient Gautam Vallabha 22 Oct 2008 14:42:47
circular Gautam Vallabha 22 Oct 2008 14:42:47
correlation Gautam Vallabha 22 Oct 2008 14:42:47

Contact us at files@mathworks.com