File Exchange

image thumbnail

dist2plane

version 1.0.0.0 (1.79 KB) by Val Schmidt
A function to calculate the distance from a point to a plane.

1K Downloads

Updated 25 Apr 2012

View License

Given a point in 3D space, and a plane parameterized by its coefficients (C = [a b c] where z = a*x + b*y + c), dist2plane will calculate the distance from the point to the plane along the normal.

Cite As

Val Schmidt (2021). dist2plane (https://www.mathworks.com/matlabcentral/fileexchange/36363-dist2plane), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!