Count rows in a table that contain specific letters

4 ビュー (過去 30 日間)
chiefjia
chiefjia 2021 年 10 月 28 日
回答済み: David Hill 2021 年 10 月 28 日
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.

採用された回答

David Hill
David Hill 2021 年 10 月 28 日
nnz(contains(companyNamesJoiner.company,'DEAD - DELIST'));

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by