Generate numeric code based on string value
Mostra commenti meno recenti
In my cell array, I have one column which contains string values such as a_abc_ABC. How can I generate a new column/ variable which assigns a number to each a_abc_ABC combination? E.g., a_abc_ABC could be 1, a_def_ABC could be 2 etc.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Data Types in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!