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 个)

类别

Help CenterFile Exchange 中查找有关 NaNs 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by