%% Generate Randomly Distributed Obstacle Map
% Generate a 2-D occupancy map with ten randomly scattered obstacles of types Box, Circle, and Plus. Specify the size of the map as 50 meters wide and 30 meters high with a resolution of 5 cells per meters.

map = mapClutter(10,{'Box','Plus','Circle'},'MapSize',[50 30],'MapResolution',5);

% Visualize the generated obstacle map.

show(map)

% Copyright 2020 The MathWorks, Inc.