obtain location of groups of data points

4 vues (au cours des 30 derniers jours)
Daniel Mella
Daniel Mella le 2 Fév 2018
Modifié(e) : Daniel Mella le 2 Fév 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

Réponses (0)

Catégories

En savoir plus sur NaNs dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by