Filter struct with condition
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I have struct labeled as Area and BoundingBox which I got from regionprops function.
I want now get struct with the same data but without rows with Area < 50
How can I do that in a smart way?
Eg.
Area | BoundingBox
53 [936,500000000000 40,5000000000000 11 13]
51 [620,500000000000 6,50000000000000 13 10]
50 [651,500000000000 8,50000000000000 9 11]
48 [692,500000000000 59,5000000000000 7 12]
48 [69,5000000000000 159,500000000000 7 13]
47 [379,500000000000 484,500000000000 7 10]
44 [929,500000000000 76,5000000000000 10 7]
42 [608,500000000000 0,500000000000000 7 9]
40 [933,500000000000 33,5000000000000 7 9]
38 [691,500000000000 194,500000000000 10 9]
Expected result:
Area | BoundingBox
53 [936,500000000000 40,5000000000000 11 13]
51 [620,500000000000 6,50000000000000 13 10]
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Structures dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!