obtain location of groups of data points

4 views (last 30 days)
Daniel Mella
Daniel Mella on 2 Feb 2018
Edited: Daniel Mella on 2 Feb 2018
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!