Deleting sequence of igual values from a matrix
Mostrar comentarios más antiguos
Hello there,
I have a matrix with a sequence of numbers, as it referes to a conjunction of points coordenates, most of times this values became monotonous in one of the lines, I want to discart every point that do not change em both lines 1 and 2 at the same time. Example:
[0 0 0 1 1 1 2 2 2 3 3 3,
0 1 2 2 3 4 5 6 7 8 9 10]
I just want to select
[0 1 2 3,
0 2 5 8]
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix and Vector Construction en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!