Extracting values from table/ matrices
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Isaac Hassen
il 19 Giu 2020
Commentato: Isaac Hassen
il 19 Giu 2020
I have a table with three columns (a,b,c) and hundreds of rows. How can I extract all the values of b and c when a=x?
2 Commenti
Risposta accettata
madhan ravi
il 19 Giu 2020
TablE(TablE.a == x, 2:3) % x is a numeric scalar , use strcmp(...) if it’s a string or a char
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Characters and Strings 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!