How do I find similar columns in a matrix?
Mostra commenti meno recenti
Hello! So i have a matrix of 32x129600, I mean, there are 129600 columns of 32 elements each. What I want is to find the columns that are similar, let's say the difference between their elements is less than 0.001, how can I do this?
Thank you so much for your answers.
2 Commenti
madhan ravi
il 1 Feb 2019
illustrate with a short example
Raúl Alonso Merino
il 4 Feb 2019
Risposta accettata
Più risposte (1)
KSSV
il 1 Feb 2019
0 voti
You can have a llok on ismember, ismemebrtol. Also you can use isequal for logical check whether the lements matching exactly. You may also plot a histogram and see. You can run a loop, get the difference and check. There are multiple methods to achieve what you want.
1 Commento
Raúl Alonso Merino
il 4 Feb 2019
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!