How can I summarize datapoints (coordinates which are closer than 0.2 meter for example), keep only the mean values of these groups and delete the others?
Show older comments
Its my first matlab use: I need to delete some data points on a grid which are at almost the same coordinate. There shouldnt be missing data so i want to take the mean value of every group of data with same coordinates. Do i need to create a new matrix because of the size of the data set? And how can i write a generalized code to formulate: 'take all points closer then 0.2m and replace with mean value of these points? Thanks in advance for your ideas
4 Comments
KSSV
on 26 Jul 2017
Closer than 0.2m from what?
Jan
on 26 Jul 2017
@Sabine Haase: Are you looking for a set of clusters, which classify your data points? See https://en.wikipedia.org/wiki/Cluster_analysis
Sabine Haase
on 28 Jul 2017
Sabine Haase
on 28 Jul 2017
Accepted Answer
More Answers (0)
Categories
Find more on Hierarchical Clustering 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!