obtain location of groups of data points
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a big matrix T where all its values are zero except some areas where its value range between 0.8 and 1. These areas are grouped (no zero values within them) and separated from each other by zero values. How can I find their locations and group them separately? i.e A(loc_group1, loc_group2, ... ) = [val_group1, val_group2, ....]
pd: I attached the matrix T.
thanks
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NaNs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!