mercredi 20 mai 2020

How to generate random pair of coordinate points seperated by a distance l

I would like to randomly generate a 1000 pair of (a,b) , (c,d) which is seperated by a unit distance and the points should be within a rectangular boundry. Please help Thanks a lot!




Aucun commentaire:

Enregistrer un commentaire