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!
Auralius Manurung (2020). Point-Plane Distance (https://www.mathworks.com/matlabcentral/fileexchange/62096-point-plane-distance), MATLAB Central File Exchange. Retrieved .