euclidean distance between two points with different dimensions

6 Ansichten (letzte 30 Tage)
CC_had
CC_had am 5 Mär. 2016
Kommentiert: Star Strider am 8 Mär. 2016
If I have 2 points one is 2d point (1,2) and another 3d point (1,2,4) is there a way to measure the distance or the euclidean distance between them?
Any suggestions on how to measure the distances between two different point with different dimensions?
  2 Kommentare
John BG
John BG am 5 Mär. 2016
have you considered that both points have same dimensions?
the points you call 2D have 3rd dimension zeroed
CC_had
CC_had am 8 Mär. 2016
no, both points have different dimensions.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Star Strider
Star Strider am 5 Mär. 2016
You would have to ‘create’ a third dimension for the first point (perhaps (1,2,0) to calculate its distance from the second (1,2,4). You cannot calculate the Euclidean distance between points with different dimensions.
  3 Kommentare
CC_had
CC_had am 8 Mär. 2016
I am using pca eiginfaces and I am trying to plot the real face and all the reconstructed photo in the same plot. and I want to measure the euclidean distance between the real and the reconstructed ones. each of the reconstructed ones have different dimensions that why I don't know how to do that?
Star Strider
Star Strider am 8 Mär. 2016
To the best of my knowledge, you cannot calculate Euclidean distances between objects with different dimensions. I do not know of any metric that would allow you to do that.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by