Extracting values from table/ matrices
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Isaac Hassen
el 19 de Jun. de 2020
Comentada: Isaac Hassen
el 19 de Jun. de 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 comentarios
Respuesta aceptada
madhan ravi
el 19 de Jun. de 2020
TablE(TablE.a == x, 2:3) % x is a numeric scalar , use strcmp(...) if it’s a string or a char
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!