How to find same values in two different data sets of different sizes?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have two data sets of unequal length. A = [1 2 3 4 5; 6 7 8 9 0; 5 4 3 2 1; 0 9 8 7 6] and B = [3 4; 8 9; 3 2; 8 7]
Columns 3 and 4 of data set A are the same as all of data set B.
How do i obtain the column indices representing which part of A is the same as B answer desired is [3; 4]
Thanks for all the help in advance!
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!