converting a string of variables to numbers
이전 댓글 표시
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
Thomas
2012년 5월 21일
Can you give an example of what your output should be..
ektor
2012년 5월 21일
Oleg Komarov
2012년 5월 21일
To be more precise you're grouping by location AND country AND date.
ektor
2012년 5월 21일
Oleg Komarov
2012년 5월 21일
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!