For example, A=[2 3 4 4 3; 1 2 4 4 2; 2 4 6 6 4]. I wish to have a unique matrix B from A: That is B=[2 3 4; 1 2 4; 2 4 6] having unique columns.
MATLAB: Hello, can any one help me out? I have an mxn matrix with repeated columns. How to get another matrix from this very one which is having no repetition of columns. Many thanks for anticipated assistance.
matrix with unique columns
Related Question
- How to retain only the rows of a matrix based on the unique numbers in the first column of the matrix
- Split multiple cells into columns.
- Identifying the repeated rows in a matrix and comparing them to another matrix
- Replace values in one column based on the content in several other columns.
- How to truncate this matrix
- Reshape a matrix according to specific columns.
- Move all NaN to end of matrix columns.
Best Answer