string compare of numbers and strings
Afficher commentaires plus anciens
i have two variables(suppose a and b) which is an array of numbers as well as strings. I want to compare a and b, and my output should be a logical array of same size as a and b.
Réponses (1)
Kate
le 28 Oct 2015
0 votes
Could you show us some sample data? Off the top of my head I think you need to use strcmp and/or ismember
1 commentaire
Praveen Choudhury
le 28 Oct 2015
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!