visualization of the 2-D grid world in MATLAB?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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];
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/300868/image.png)
1 Kommentar
Antworten (1)
SaiDileep Kola
am 24 Dez. 2020
yes as suggested by Darova, use patch function in combination with createGridWorld function to get your custom visualisation.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!