Effacer les filtres
Effacer les filtres

How do you compare two string arrays, independent of cell location?

1 vue (au cours des 30 derniers jours)
Jason Goad
Jason Goad le 31 Déc 2012
Say I have two arrays A = {'x','y','z'} and B = {'y','z','x'} . How would I get an output that tells me what terms in A are equal to which terms in B, independent of cell location?
As I type this I realize I'm probably comping up with a pretty good Matlab homework assignment...

Réponses (1)

Walter Roberson
Walter Roberson le 31 Déc 2012
ismember()

Catégories

En savoir plus sur Characters and Strings 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