Count rows in a table that contain specific letters

4 Ansichten (letzte 30 Tage)
chiefjia
chiefjia am 28 Okt. 2021
Beantwortet: David Hill am 28 Okt. 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.

Akzeptierte Antwort

David Hill
David Hill am 28 Okt. 2021
nnz(contains(companyNamesJoiner.company,'DEAD - DELIST'));

Weitere Antworten (0)

Kategorien

Mehr zu Tables 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!

Translated by