How do I find similar columns in a matrix?
Show older comments
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 Comments
madhan ravi
on 1 Feb 2019
illustrate with a short example
Raúl Alonso Merino
on 4 Feb 2019
Accepted Answer
More Answers (1)
KSSV
on 1 Feb 2019
0 votes
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 Comment
Raúl Alonso Merino
on 4 Feb 2019
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!