repeated elements in matrix
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
i have a Nx4 matrix like this [1 2 3 1; 2 1 3 2; 3 2 1 3] with the values of nodes making a clique, i need to find the occurances of a 1x2 matrix for instance [1 2] any suggestions?
2 commentaires
Joseph Cheng
le 4 Avr 2017
Modifié(e) : Joseph Cheng
le 4 Avr 2017
for your example of [1 2] is that different from [1;2] [2;1] or [2 1]? or are these separate instances?
Charis L
le 5 Avr 2017
Réponses (0)
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!