from
Click3dPoint
by Babak Taati
Select a point from a 3D point cloud by clicking on it.
|
| rowNorm(A)
|
function v = rowNorm(A)
%ROWNORM norm of each row
% V = ROWNORM(A) returns the Euclidean norm of each row of A. When A is
% an M*N matrix, the output, V, will be a M*1 vector.
%
% Babak taati May 4, 2005
% revised May 19, 2009
if nargin ~= 1
error('Requires one input arguments.')
end
v = sqrt(sum(A.*A, 2));
|
|
Contact us at files@mathworks.com