string compare of numbers and strings
2 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
Kate
2015 年 10 月 28 日
Could you show us some sample data? Off the top of my head I think you need to use strcmp and/or ismember
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!