Determine continent given the country
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a list of countries and I'm looking for a quick way to get the continent for each one of them.
Any idea?
Thanks
댓글 수: 1
John D'Errico
2016년 11월 4일
편집: John D'Errico
2016년 11월 4일
What have you tried? Lots of easy things would work, from a switch statement, to regexp on a cell array, strmatch (ok, strncmp), ismember, etc. Why not try writing some code using any of the above? If you have a problem with what you wrote, then ask. But this is an easy problem, so make an effort.
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!