Azzera filtri
Azzera filtri

How to remove repeat entities in a matlab array

2 visualizzazioni (ultimi 30 giorni)
Et.B200
Et.B200 il 10 Nov 2020
Commentato: Steven Lord il 11 Nov 2020
I have an array with 17 values within it, I have only one number than appears twice, i want the new identity to have 16 values in it, only including this perticular repeat value only once in the new identity

Risposte (1)

James Tursa
James Tursa il 10 Nov 2020
Modificato: James Tursa il 10 Nov 2020
unique(your_variable)
or
unique(your_variable,'stable')
  9 Commenti
James Tursa
James Tursa il 11 Nov 2020
@Stephen: Good catch! I totally missed that.
Steven Lord
Steven Lord il 11 Nov 2020
@Stephen: I missed that as well.

Accedi per commentare.

Categorie

Scopri di più su Biological and Health Sciences in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by