finding location of logical 1 row wise by column
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cside
am 15 Okt. 2019
Beantwortet: Stephen23
am 15 Okt. 2019
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!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!