Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

find patterns in nominal arrays

2 Ansichten (letzte 30 Tage)
Vanessa
Vanessa am 3 Aug. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentare
Vanessa
Vanessa am 3 Aug. 2017
it's a nominal array
José-Luis
José-Luis am 3 Aug. 2017
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?

Antworten (1)

KSSV
KSSV am 3 Aug. 2017
Bearbeitet: KSSV am 3 Aug. 2017
Read about ismember...

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by