how to remove repeating columns in a matrix

13 visualizaciones (últimos 30 días)
Raahul Palanivel Uma
Raahul Palanivel Uma el 11 de Oct. de 2016
Respondida: Adam el 11 de Oct. de 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

Respuestas (1)

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

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by