File Exchange

image thumbnail

Point-Plane Distance

version 1.0 (1.26 KB) by

Calculate point-plane distance (in vector).

9 Downloads

Updated

View License

Given a plane: ax+by+cx+d = 0, a point p1 = [x1; y1; z1], and a point: p0 [x0; y0; z0]. p0 is located on the given plane and has the shortest distance to p1. Calculate a vector between p1 to p0!

Comments and Ratings (1)

Adrian

Adrian (view profile)

The description makes it sound as if p0 was given, but p0 can be calculated from p1 and the plane using the script.

MATLAB Release
MATLAB 9.1 (R2016b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today