visualization of the 2-D grid world in MATLAB?
5 次查看(过去 30 天)
显示 更早的评论
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 个)
SaiDileep Kola
2020-12-24
yes as suggested by Darova, use patch function in combination with createGridWorld function to get your custom visualisation.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!