Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

What is a code to remove elements that are identical between each other, in the 2 columns in a nx2 matrix?

1 Ansicht (letzte 30 Tage)
If I have a matrix like:
A = [2 5; 5 6; 1 1; 2 2; 4 8; 2 6; 3 3]
What is a generalized code to remove the elements that are identical, between each other, in the 2 columns in a nx2 matrix (e.g. 2 2; 3 3 etc.)?

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by