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

4 ビュー (過去 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 Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by