function [udx,udy] = findNormalizedSlope(dx,dy)
%findNormalizedSlope

%   Copyright 2022 The MathWorks, Inc.

l=norm(dx,dy);
if(l>sqrt(eps))
    udx=dx/l;
    udy=dy/l;
else
    udx=0;
    udy=1;
end
end

