find the Euclidean distance

4 views (last 30 days)
i wanted to find the Euclidean distance between 2 pixels...please help me....

Accepted Answer

Walter Roberson
Walter Roberson on 5 Nov 2012
sqrt((x2-x1).^2 + (y2-y1).^2)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!