how to remove repeating columns in a matrix
Afficher commentaires plus anciens
Hello all. I have a 1001x88 non-Zero Matrix with columns repeating at certain intervals. How do I remove These repeating columns? Is there any function such as unique(A,'rows') for removing repeating columns? Thanks in Advance
Réponses (1)
Adam
le 11 Oct 2016
1 vote
Just transpose the matrix and use unique(A, 'rows' )
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!