0

For an arbitrary convex set, may be a polyhedron or an ellipsoid how can I generate N uniformly distributed points inside?

1 Answers1

1

Generate points uniformly in a rectangle that contains the set and keep only those that are in the set.

roger
  • 2,964
  • Thanks a lot! and any methodology to solve this problem to arbitrary convex set, such as a convex hull of a set of points. – user111333 Nov 29 '13 at 06:04