Index of the colums which contains only specific char 'B'
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Dora de Jong
il 23 Mar 2021
Commentato: Dora de Jong
il 23 Mar 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Cell Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!