Perpendicular distance beween two 3D points
1 次查看(过去 30 天)
显示 更早的评论
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1110350/image.png)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computational Geometry 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!