hwo can i write this by matlab code
6 ビュー (過去 30 日間)
古いコメントを表示
if i have a matrix 15*15
which gave me info about the distance between all AP (access point)
I need to make 5 groups each group consists of 3 AP where AP not repeated in each group depend on the largest distance between every access point
any support please to write it by natlab code
Thanks all
4 件のコメント
Image Analyst
2019 年 2 月 3 日
編集済み: Image Analyst
2019 年 2 月 3 日
Do you have the coordinates of each point? If so, did you try pdist2() like I suggested? This will get the distance of every point to every other point.
Once you have the distances, you can pass them into kmeans() to cluster them into three groups.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!