Computing turning angles from location data
Afficher commentaires plus anciens
So I have three nx4 arrays where n is one of 1500,2000 and 6000. The 2nd and 3rd columns are the x & y displacement values for a rat population ,the 4rd column is the time displacement and the 1th is the "tag number" which identifies the rat in question. I need to compute the mean of the cosines of the turning angles of my data. I need to compute this for each entire array, not just individual rats. I'm not even too sure of what the "turning angle" is, but i'm also a bit of a noobian to matlab so would really appreciate any help. This is an example of my data: 2342 0 0 0 2342 -1 2 13 4535 0 0 0 4535 -1 2 33 4535 -3 0 65 4535 -1 1 88 4535 -2 1 148 4535 -3 -1 188 4535 -1 1 201 4535 -1 1 214 4535 -1 0 241 4535 -3 -1 270 1492 0 0 0 1492 -1 0 57 1509 0 0 0 1509 -1 1 30
1 commentaire
Timothy Russell
le 13 Fév 2013
Réponses (0)
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!