How can I superpose two different matrix?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi guys!
I am working with XY coordinates of football players. I have a player who player from right to left and other one who played from left to right (goalkeepers). In order to offer a descriptive analysis of the displacements of both players I would like to superpose both player's trajectories to perform a posterior descripitve analysis. I guess that I need to perform a 180º rotation of my matrix, but I do not know how to do it. Both matrix should begin from a x,y position to carry out the superposition.
I am a beginner in Matlab, that is why I would really appreciate any help.
Thanks in advance.
%session 1 (x,y)
79,3009042712858 37,4697950150402
79,3558694778092 37,4990536305036
79,0104770583284 37,3289883391263
78,6623425136627 37,1480538727910
78,5732231577665 37,0866321705538
78,7374010074208 37,1483322440873
78,9774559202306 37,2514174188012
79,1235874913727 37,3139711610832
79,1265259742650 37,3097788931611
79,0502168523388 37,2670156995369
%session 2 (x,y)
102,513595798112 36,6080926856856
102,528984343145 36,6089401076438
102,550777978227 36,6065902528846
102,573556355065 36,6053154214031
102,592773812630 36,6071061292226
102,608662263609 36,6112885832358
102,625017361648 36,6159913086859
102,645147958884 36,6197983544156
102,669433576728 36,6225030339203
102,695516149299 36,6250417137669
댓글 수: 1
dpb
2019년 3월 25일
I guess I don't follow what you want the result to be???
How about showing us the desired output for a couple of these elements for each array and how you determined that would be the right answer?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!