MATLAB Answers

How can I create Nigeria map and fill the my data on it?

1 view (last 30 days)
Ojo Olusola
Ojo Olusola on 16 Aug 2021
I have an excel file with 13 columns as shown in the attached sampledata. The file contains 40 station names and their longitudes and latitudes in the first three columns respectively while the other 11 columns contains the resulting data. I want to create Nigeria maps with geographical coordinates (4 degree North by 14 degree North, 4 degree East by 14 degree East). Then, I want fill each of the 11 data on the Nigeria map and extrapolate them fill the map to the edges using krigging or any available methods. Can somebody help me out please. Thanks.
[A,b] = xlsread('sampledata.xlsx')
A = 39×13
3.2000 7.1000 25.7777 22.8363 85.3162 315.4962 305.5010 288.4058 259.7125 228.4817 200.7548 171.1788 120.8990 5.2200 7.6200 24.5292 21.0068 83.0816 299.7000 287.3096 268.5260 240.4904 211.3606 185.6404 160.7173 126.2760 5.1800 7.2500 24.9023 22.3371 87.1431 316.9827 308.3125 294.5385 269.9529 240.2154 212.6433 186.8548 154.6490 9.4900 10.1700 24.6083 11.3091 52.9261 151.4952 136.5663 120.2760 104.3010 87.8865 69.4269 45.7702 16.1462 6.0400 4.6600 25.7986 23.5711 88.3274 328.7490 322.6721 311.7442 291.4827 262.0596 230.7981 199.5394 137.5212 5.0600 6.1900 26.0121 23.6352 87.4922 327.9519 321.9029 311.9981 293.7173 261.6337 226.6452 188.9356 91.4202 9.0600 6.0100 25.3688 22.4708 85.3927 316.1865 306.7192 290.8048 266.8144 236.2163 203.4962 169.0577 115.6394 8.2100 4.5800 26.8060 23.7275 83.6710 327.8952 322.2183 314.1750 301.7567 273.2337 188.4135 37.3827 0.0510 7.3300 6.2800 25.2443 21.7873 82.9712 306.4885 293.3625 272.2067 242.1769 210.1538 181.4885 151.4115 104.6567 3.2200 6.9500 25.7777 22.8363 85.3162 315.4962 305.5010 288.4058 259.7125 228.4817 200.7548 171.1788 120.8990
b = 40×14 cell array
{'Stations' } {'Longitude (degree East)'} {'Latitude (degree North)'} {'T2M' } {'D2M' } {'R2H' } {'R60' } {'R65' } {'R70' } {'R75' } {'R80' } {'R85' } {'R90' } {'R95' } {'Abeokuta' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ado-Ekiti'} {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Akure' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Bauchi' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Bayesal' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Benin' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Bida' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Calabar' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Enugu' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ewekoro' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Gusau' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ibadan' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ibi' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ijebu-ode'} {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ikeja' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ilesa' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Ilorin' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Iseyin' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Jalingo' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Jos' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Kaduna' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Kano' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Katsina' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Kontagora'} {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Maiduguri'} {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Makurdi' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Minna' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Nguru' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {'Onitsha' } {0×0 char } {0×0 char } {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char} {0×0 char}

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!