Perpendicular distance beween two 3D points
Show older comments
Hi All,
I have two 3D points in space with x, y, and z coordinates (1 and 2, red dots in the image). I want to calcuate "d". I know a bit about euclidean distances and pdist2 but not sure if this is what I need. Can someone help me?
Thanks in advance!

Answers (1)
Categories
Find more on Image Arithmetic 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!