Unit of Distance between two points

I would like to measure the distance between two points and I used pdist(). But, the variation is too large from the real distance. What is the unit of measurement here? Pixels?

Answers (1)

Whatever the units were for the numbers you passed into pdist()

1 Comment

I passed the x and y co=ordinates that was detected by matlab. Can you tell me as to in which unit were the co-ordinateds tracked?
Thanks.

Sign in to comment.

Tags

Asked:

on 14 May 2014

Commented:

on 14 May 2014

Community Treasure Hunt

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

Start Hunting!