How do I get point between two high dimensional points?

5 Ansichten (letzte 30 Tage)
HT
HT am 1 Feb. 2023
Bearbeitet: Torsten am 1 Feb. 2023
I have two points in high dimensional space (e.g., 10 dimensions).
How can I get the point that is between these two points? I.e., if I were to imagine a line between the two original points, how do I find the coordinates of the middle of that line?

Akzeptierte Antwort

Torsten
Torsten am 1 Feb. 2023
Bearbeitet: Torsten am 1 Feb. 2023
0.5*(x1+x2)
or in general:
(1-lambda)*x1 + lambda*x2
for 0<=lambda<=1.

Weitere Antworten (0)

Kategorien

Mehr zu Computational Geometry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by