how to remove repeating columns in a matrix

13 views (last 30 days)
Raahul Palanivel Uma
Raahul Palanivel Uma on 11 Oct 2016
Answered: Adam on 11 Oct 2016
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

Answers (1)

Adam
Adam on 11 Oct 2016
Just transpose the matrix and use unique(A, 'rows' )

Categories

Find more on Creating and Concatenating Matrices 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!