dist2plane

A function to calculate the distance from a point to a plane.
1.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 (2024). 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!
Version Published Release Notes
1.0.0.0