フィルターのクリア

How to import a country map with counties and have Matlab recognize the various counties?

3 ビュー (過去 30 日間)
Pradyumna
Pradyumna 2013 年 1 月 10 日
編集済み: Nathan Kamphuis 2020 年 4 月 14 日
Hi,
I am working on a project and basically, I'm trying to import a map of US with the counties marked on it. my purpose is to add data about each county, specifically about the concentration of different ethnicities. Then, I want to give each county a certain shade of color based on the concentration.
Does Matlab have a feature which can detect the counties on a map? if so, can each element (county) store data and be assigned individual colors?
I am experienced in Matlab and have coded a lot of numerical analysis projects before. This is a side project, and I've never worked with image importing and detection in Matlab, which is why I'm asking.
Thank You

回答 (1 件)

Jonathan Sullivan
Jonathan Sullivan 2013 年 1 月 10 日
Assuming you have the mapping toolbox, you could just import it via a shape file. They can be found below:
help shaperead
doc shaperead
  1 件のコメント
Nathan Kamphuis
Nathan Kamphuis 2020 年 4 月 14 日
編集済み: Nathan Kamphuis 2020 年 4 月 14 日
Jonathan,
Thanks for the tip on shape files.
Here is the latest one I could find on the Census Bureau site:

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by