comparison the data and ploting it
2 次查看(过去 30 天)
显示 更早的评论
i have these arrays in work space
names 332*2 cell
daily_cases 332*430 double
note :
names include countries names in first column and states in 2nd column
daily_cases indclude daily covid cases
important ; for example 'canada ' is located in location (1;20) in names cell and its data is located in 'daily_cases' at same location (1;20)
i want the function which take random country name as input the make the plot of dailycases vs country name
function(country, names,dailycases)
end
it should be generic so that it plot the data of any country which i enter while calling
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!