Info

此问题已关闭。 请重新打开它进行编辑或回答。

find patterns in nominal arrays

1 次查看(过去 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 个评论
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