How to compare rows in a matrix?

2 vues (au cours des 30 derniers jours)
Atiqah Zakirah
Atiqah Zakirah le 16 Mai 2017
Modifié(e) : KSSV le 16 Mai 2017
I need to compare the rows in a single matrix to see which values are repeated. I also want to know which row number the repeated values are from. I'm basically trying to find any common value among multiple rows. Is there an efficient way to solve this, especially for huge data sets?

Réponses (1)

KSSV
KSSV le 16 Mai 2017
Modifié(e) : KSSV le 16 Mai 2017
Read about ismemebr , intersection , unique

Catégories

En savoir plus sur Dynamic System Models 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