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?
이전 댓글 표시
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
KSSV
2017년 7월 26일
Closer than 0.2m from what?
Jan
2017년 7월 26일
@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
2017년 7월 28일
Sabine Haase
2017년 7월 28일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Cluster Analysis and Anomaly Detection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!