Borrar filtros
Borrar filtros

how to delete repeated coordinates

1 visualización (últimos 30 días)
muhammad ismat
muhammad ismat el 14 de Jun. de 2015
Respondida: dpb el 14 de Jun. de 2015
if i have d=[ 3 4; 4 3;7 6 ;6 7]
so i want this result d=[ 3 4; 7 6]

Respuestas (1)

dpb
dpb el 14 de Jun. de 2015
Presuming values are significant but order isn't, simplest that comes to mind is
>> unique(sort(d,2),'rows')
ans =
3 4
6 7
>>

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by