How do I get point between two high dimensional points?

4 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)


Find more on Unit Conversions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!