%
%
% File author(s):  <Julian Andres Garcia Grajales>, (C) 2014
%
% Copyright: this software is licenced under the terms stipulated in the license.txt file located in its root directory
%
%

function [dist]=distance(x1,y1,z1,x2,y2,z2)

dist = sqrt((x1-x2)^2+(y1-y2)^2+(z1-z2)^2);

end