Distance between straight lines in 3D

Find the distances between each pair of straight lines in two sets, and the closest points

You are now following this Submission

Find the distances between each pair of straight 3D lines in two sets. Find the closest points on each pair, and the pair with minimum distance. Each line is defined by two distinct points.

Cite As

Michael Yoshpe (2026). Distance between straight lines in 3D (https://uk.mathworks.com/matlabcentral/fileexchange/55911-distance-between-straight-lines-in-3d), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

shortened the title