Commit 8c882fb6 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

added norm2 to itaCoordinates

parent f39d5a21
function d = norm2(v1)
% calculate the length of vectors
% <ITA-Toolbox>
% This file is part of the ITA-Toolbox. Some rights reserved.
% You can find the license for this m-file in the license.txt file in the ITA-Toolbox folder.
% </ITA-Toolbox>
d = sqrt(v1.x.^2+v1.y.^2+v1.z.^2);
end %eof
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment