finding duplicate values in variable length columns in an array

2 vues (au cours des 30 derniers jours)
psprinks
psprinks le 11 Jan 2018
Commenté : psprinks le 11 Jan 2018
I have a structured array with 7 different field names that are single column vectors. They are of variable lengths. For example field name 1 has 27000 values. Field name 2 has 17000 values...field name 7 has 6000 values, etc. The values are are integers that represent event IDs. I would like to find the values common to all 7 field names (columns). Any suggestions?

Réponse acceptée

Birdman
Birdman le 11 Jan 2018
Modifié(e) : Birdman le 11 Jan 2018
  1 commentaire
psprinks
psprinks le 11 Jan 2018
oh good...I didn't know about the m distinction for those functions
thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by