Effacer les filtres
Effacer les filtres

Using iscellstr to identify specific character vector

2 vues (au cours des 30 derniers jours)
Owen Gray
Owen Gray le 21 Jan 2021
Commenté : Owen Gray le 21 Jan 2021
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 commentaires
Stephen23
Stephen23 le 21 Jan 2021
strcmp
Owen Gray
Owen Gray le 21 Jan 2021
Worked a treat, merci!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by