Calculating correlations between players
Afficher commentaires plus anciens
I have GPS coordinates (latitude and longitude) for players (each with their own column in the matrix) on a team over a 60 second period (i.e t1 = [0:60] and I am trying to find the correlation coefficient for displacement for certain pairs of players (i.e. player 1 with player 2, player 5 with player 9, etc.) for the entire 60 second period. However, at certain time points, some players have an NaN value due to a weak signal. How can I calculate an r-value for each pair of players while excluding NaN values so I don't get an NaN value my r-value?
Réponses (0)
Catégories
En savoir plus sur Correlation and Convolution 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!