Euclidean to homogeneous
H = e2h(E) is the homogeneous version (K+1xN) of the Euclidean points E (KxN) where each column represents one point in RˆK.
h2e
Robotics Toolbox for MATLAB © 1990-2014 Peter Corke.