3-Dimensional Clustering
6 views (last 30 days)
Show older comments
I have a 3D matrix (73 X 144 X 25738) where the first 2 dimensions are data in a lat / long grid and the 3rd dimension is time. I have transformed the data so that it is Boolean, where all 1's are the data points that meet a criteria and every other cell has a 0. I need suggestions on how to group/cluster the data by closeness in the first 2 dimensions (aka: the cells with 1's should be contiguous or within a specified distance - 2 cells would be grouped if they were both 1's and were touching/adjacent within the 2D (73 x 144) array). Furthermore, I need to maintain the 2D groups/clusters through time (aka: if there is a cluster of 5 cells on Day 1 at a given lat/long and a cluster of 8 cells around the same lat/long values on Day 2, I would like to be able to identify that the cluster of 8 cells on day 2 belongs to the same cluster as day 1). Thanks for any suggestions.
3 Comments
Pauline Combarnous
on 21 Jun 2019
Thank you but indeed that's not quite what I was looking for, even thougth your method is interesting. I think I can find a solution using the linkage and cluster functions, I'm just trying to figure out how I could put different cutoffs on the cluster function along the different directions (lat/long and time). Anyway, thanks for your quick answer.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!