Using iscellstr to identify specific character vector

4 ビュー (過去 30 日間)
Owen Gray
Owen Gray 2021 年 1 月 21 日
コメント済み: Owen Gray 2021 年 1 月 21 日
I want to try and generate a column vector, with true value if the cell contains the character vector "response" and otherwise false. Is this possible with iscellstr, or alternatively is there another way to accomplish this? Thanks in advance!
  2 件のコメント
Stephen23
Stephen23 2021 年 1 月 21 日
strcmp
Owen Gray
Owen Gray 2021 年 1 月 21 日
Worked a treat, merci!

サインインしてコメントする。

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by