i want to get string array corresponding another num array
Ältere Kommentare anzeigen
A = [ "a", "b", "c"]
B = [ 4, 5, 6]
if B change to [ 6, 4, 5 ]
i want to output A= ["c", "a", "b"]
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Numeric Types finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!