Group a Array Elements
Ältere Kommentare anzeigen
X=[1 2 3 3 3 1]
index 1 -> 1 index 2 -> 2 index 3 -> 3 index 4 -> 3 index 5 -> 5 index 6 -> 1
y=[{1,6},{2},{3,4,5}]
How create matrix y?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu String Parsing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!