remove the frequent values withou sorting
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
huda nawaf
il 10 Lug 2022
Commentato: huda nawaf
il 11 Lug 2022
hello
I need a function remove the frequent values(keeping the first appearance of value) without using unique because it is making sortg
For example
x=[3 4 3 5 1 0 4 2];
I need x to be
x=[3 4 5 1 0 2]
Thanks in advance
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Shifting and Sorting Matrices 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!