hwo can i write this by matlab code
Show older comments
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 Comments
Image Analyst
on 3 Feb 2019
What is AP? Distance from what?
Please read this link
Are you using pdist2() from the Statistics and Machine Learning Toolbox?
sara alaraby
on 3 Feb 2019
Image Analyst
on 3 Feb 2019
Edited: Image Analyst
on 3 Feb 2019
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.
sara alaraby
on 4 Feb 2019
Answers (0)
Categories
Find more on Creating and Concatenating Matrices 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!