converting a string of variables to numbers
Mostra commenti meno recenti
HI all I have the varible
Country
Austria
Austria
Austria
Austria
Austria
Austria
Austria
and I want to convert it to a numeric varable. Any help?
Thanks in advance
5 Commenti
Thomas
il 21 Mag 2012
Can you give an example of what your output should be..
ektor
il 21 Mag 2012
Oleg Komarov
il 21 Mag 2012
To be more precise you're grouping by location AND country AND date.
ektor
il 21 Mag 2012
Oleg Komarov
il 21 Mag 2012
Now that I read your duplicated question: http://www.mathworks.com/matlabcentral/answers/38910-grouping-observations-with-specific-characteristics
I understand that you do NOT want to gather but sort.
Geoff already answered your question, you have to use sortrows.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Tables 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!