euclidean distance between the rows of the matrix

3 views (last 30 days)
Hello,
Consider a 100x20 matrix M.
With
a=squareform(pdist(M));
I calculated the euclidean distance between the rows.
How the maximum euclidean distance between the pairs of rows is calculated?
Thank you.
Best,
Pavlos

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!