You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
234 B

%E2H 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.
%
% See also H2E.
function h = e2h(e)
h = [e; ones(1,numcols(e))];