How can I create this simple matrix?

 Risposta accettata

Using
unique

4 Commenti

Muhendisleksi
Muhendisleksi il 13 Apr 2017
Modificato: Muhendisleksi il 13 Apr 2017
y = 23 %This is happening.
107
108
y = 108 %I want it to be like this.
107
23
Use 'stable' as the set order specifier:
y = unique(DNdog, 'stable')
thanks!
My pleasure!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by