How can i find distance between x and y each being 500 numbers.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
My x and y are 500 numbers in x and 500 numbers in y.So we have 500 scatter points... i want to find the distance between those points and instead of having 500 points i will have 5-6 big points that will reprisent that some number of points are on the same area because of the distance limit that i will set.. Any suggestions ?? Thank you in advance
Answers (1)
Peter Perkins
on 27 Feb 2013
0 votes
Antonio, if you have access to the Statistics Toolbox, this sounds like a good use for the KMEANS function.
Hope this helps.
1 Comment
Antonio
on 3 Mar 2013
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!