find patterns in nominal arrays
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
Hello everyone!!!
I have an array with two columns and nominal values.
[N N]
[N N]
[N S]
[S N]
[N N]
[N N]
[N N]
[N S]
[S N]
[N N]
I want to find the pattern
[N N]
[N S]
[S N]
and merge the cells into one [N N]
How can I do it?
Thank you!!!
Vanessa
3 件のコメント
José-Luis
2017 年 8 月 3 日
How are your data stored?
Vanessa
2017 年 8 月 3 日
José-Luis
2017 年 8 月 3 日
Learned something today. Didn't know this data type existed. I don't have the required toolboxes so I can't play around with it.
Your question is pretty straightforward for an array of characters.
How do you get your nominal array?
回答 (1 件)
Read about ismember...
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!