geobubble from MATRIX instead of EXCEL

1 次查看(过去 30 天)
I have this code.
I want to read data from a matrix instead of file AAAA.xlsx.
MATRIX A = [1233 ASDAS 3141
12455 SDR 5544
etc....]
function UserDispersionButtonPushed(app, event)
tsunamis = readtable('AAAA.xlsx');
colordata = categorical(tsunamis.cause);
%geobasemap('colorterrain');
gb = geobubble(app.UserFlowPanel,tsunamis.lat,tsunamis.lon,tsunamis.count,colordata,'Basemap','colorterrain','Title','User Flow');% gb = geobubble(app.UserFlowPanel,tsunamis.lat,tsunamis.lon,tsunamis.count,colordata,'Title','User Flow')
gb.SizeLegendTitle = 'Count';
gb.ColorLegendTitle = 'cause';
%geobasemap('colorterrain');
end
How can I do ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Import Data 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by