finding location of logical 1 row wise by column
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I have a 8 x 621 logical and I would like to extract the row location of the logical 1 by columns i.e the result should be ans = [ 5 8 3 8 ....]
How may I do that?
Thank you!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242712/image.jpeg)
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB 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!