How to calculate covriance between 2 coordinates set

조회 수: 4 (최근 30일)
Nisha Varghese
Nisha Varghese 2021년 2월 3일
댓글: Nisha Varghese 2021년 2월 3일
If I have a set x which is a 10x2 matrix with each row as a coordinate (ie. there are 10 coordinates). And similarly I have another coordinate set y (10x2). How can I find the covariance between the two coordinate set? ie. One row should be considered as a single quantity. And I need to get a 10x10 covariance matrix which gives the covariance between each 10 coordinates.
Thanks in Advance.
  댓글 수: 4
Bjorn Gustavsson
Bjorn Gustavsson 2021년 2월 3일
That would be:
dR = X-Y;
wouldn't it?
Nisha Varghese
Nisha Varghese 2021년 2월 3일
Yes. It is a big matrix when the number of elements are high right?
I would like to get a similarity metric between 2 sets of coordinates.
ie., the deviation of tracked coordinates from the ground truth coordinates in Tracking of objects in image processing.

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by