File Exchange

image thumbnail

Point-Plane Distance

version 1.0.0.0 (1.26 KB) by Auralius Manurung
Calculate point-plane distance (in vector).

7 Downloads

Updated 16 Mar 2017

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 Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

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

» Watch video