I am using the attached matlab code to implement random waypoint mobility model, but I want to make some changes. I have two rectangles and I want that moving points to not enter to these two rectangles' area. I would be thankful if any one could help.

Thanks in advance for your consideration.

More Fereshteh Abedini's questions See All
Similar questions and discussions