converting a string of variables to numbers
Afficher commentaires plus anciens
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 commentaires
Thomas
le 21 Mai 2012
Can you give an example of what your output should be..
ektor
le 21 Mai 2012
Oleg Komarov
le 21 Mai 2012
To be more precise you're grouping by location AND country AND date.
ektor
le 21 Mai 2012
Oleg Komarov
le 21 Mai 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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!