visualization of the 2-D grid world in MATLAB?

1 vue (au cours des 30 derniers jours)
Ararat Cetinkaya
Ararat Cetinkaya le 25 Mai 2020
Hi,
have an Env matrix given below and ı have an agent walking inside of this enviroment. I want to visualize this environment like given below and want to see all of the steps like red circles.
Env = [ -1 -1 -1 -1 -1
-1 -1 -1 -1 -1
-1 -1 -10 1 -10
-1 -1 -10 -1 -1
-1 -1 -1 -1 100];
  1 commentaire
darova
darova le 26 Mai 2020
Use patch to draw a circle

Connectez-vous pour commenter.

Réponses (1)

SaiDileep Kola
SaiDileep Kola le 24 Déc 2020
yes as suggested by Darova, use patch function in combination with createGridWorld function to get your custom visualisation.

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by