フィルターのクリア

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

1 回表示 (過去 30 日間)
Jason Goad
Jason Goad 2012 年 12 月 31 日
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...

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 12 月 31 日
ismember()

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by