I have a $n\times 2$ matrix as the following example
1 21
3 23
3 23
1 21
6 24
6 24
6 24
and I need obtain a new matrix (with 2 columns) with non reapeated rows, which in this example is
1 21
3 23
6 24
How I can do this on matlab?
As said in the comments, the unique function in Matlab does exactly what you want to.