Count rows in a table that contain specific letters
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
chiefjia
el 28 de Oct. de 2021
Respondida: David Hill
el 28 de Oct. de 2021
Dear MATLAB experts,
I am trying to count how many rows contain the following letters "DEAD - DELIST" in the second column of the table attached to this post. These are not the only letters that show up in each row. Is there any way to do this?
Thank you in advance.
0 comentarios
Respuesta aceptada
David Hill
el 28 de Oct. de 2021
nnz(contains(companyNamesJoiner.company,'DEAD - DELIST'));
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables 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!