Please, somebody tell me how i can initialise a 10*10 grid environment with obstacles located while also generating random numbers between the grid

3 次查看(过去 30 天)
Im working on static path planning of autonomus vehicle using genetic algorithm.

回答(1 个)

dpb
dpb 2014-8-21
See
doc randperm
doc ind2sub
for starters...
  1 个评论
ibrahim
ibrahim 2014-8-22
I understand the syntax to use is: [Chrom Lind BaseV] = crtbp(Nind, Lind, Base) but i don't know what parameters to put in order to create a 10*10 grid environment. Can you help me on that please?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by