Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

find patterns in nominal arrays

1 vue (au cours des 30 derniers jours)
Vanessa
Vanessa le 3 Août 2017
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaires
Vanessa
Vanessa le 3 Août 2017
it's a nominal array
José-Luis
José-Luis le 3 Août 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?

Réponses (1)

KSSV
KSSV le 3 Août 2017
Modifié(e) : KSSV le 3 Août 2017
Read about ismember...

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by