Index of the colums which contains only specific char 'B'
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Dora de Jong
am 23 Mär. 2021
Kommentiert: Dora de Jong
am 23 Mär. 2021
Cell array values and words.
Want to find which colums contains only B's
a = {
1 'B' 2 'B' ;
'B' 'B' 'B' 'B' ;
1 2 'B' 'A';
}
Wanted outcome:
b =[0;1;0]
This is a simplified version of the entire array a.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Report Generator 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!