Info

この質問は閉じられています。 編集または回答するには再度開いてください。

find patterns in nominal arrays

2 ビュー (過去 30 日間)
Vanessa
Vanessa 2017 年 8 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Vanessa
Vanessa 2017 年 8 月 3 日
it's a nominal array
José-Luis
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 件)

KSSV
KSSV 2017 年 8 月 3 日
編集済み: KSSV 2017 年 8 月 3 日
Read about ismember...

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by