Calculating correlations between players
조회 수: 3 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!