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

Answers (1)

See
doc randperm
doc ind2sub
for starters...

1 Comment

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?

Sign in to comment.

Asked:

on 21 Aug 2014

Commented:

on 22 Aug 2014

Community Treasure Hunt

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

Start Hunting!