How to find euclidean distance
Show older comments
Plz help me to find euclidean distance between two pixels within same image without using direct matlab command
2 Comments
Walter Roberson
on 20 Jan 2014
What is a "direct MATLAB command"? Even
3 + 5
is considered a command and invokes a MATLAB function ("plus")
Fahim Ahmed
on 23 Feb 2020
i guess he meant a matlab in-built command
Accepted Answer
More Answers (1)
Geetika
on 21 Jan 2014
2 votes
if you have two vectors with any number of point, for instance, x1=[1 2 3 4 5] and x2=[2 3 4 5 6], then Euc_dist = norm( x1 - x2 ) ;
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!