Combinations of matrix rows
古いコメントを表示
I have a matrix of x and y coordinates of points. I used nchoosek to figure out how many different combinations I can have, but how do I get MATLAB to do those combinations? A=[x coord. y coord.] =[1 2; 2 2;3 5;4 7;7 1] I have 5 points and I need to determine the minimum distance between all points (i.e. between points 1 and 2, between points 1 and 3, between points 1 and 5, between points 2 and 3, etc).
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Matrix Decomposition についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!