How to calculate the distance between two un-equal vectors in matlab.???
1 次查看(过去 30 天)
显示 更早的评论
Consider I have two vectors of different lengths i.e., length(a) is not equal to length (b). How to caluclate the distance between the two vectors???
4 个评论
Steven Lord
2018-4-7
That still doesn't tell us what your definition of "distance" is for this application.
- The difference in the number of points in the vectors
- The distance between the centroids of your regions
- The difference in area between your regions
- The number of people who say "The two regions look different" when you ask them to compare the two images
- Something completely different
Once you tell us what you want to compute we may be able to help you determine how to compute that quantity.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!