# How to calculate covriance between 2 coordinates set

1 visualizzazione (ultimi 30 giorni)
Nisha Varghese il 3 Feb 2021
Commentato: Nisha Varghese il 3 Feb 2021
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.
##### 4 CommentiMostra 2 commenti meno recentiNascondi 2 commenti meno recenti
Bjorn Gustavsson il 3 Feb 2021
That would be:
dR = X-Y;
wouldn't it?
Nisha Varghese il 3 Feb 2021
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.

Accedi per commentare.

### Categorie

Scopri di più su Geometric Transformation and Image Registration in Help Center e File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by