For an arbitrary convex set, may be a polyhedron or an ellipsoid how can I generate N uniformly distributed points inside?
Asked
Active
Viewed 40 times
0
-
What do you mean by uniformly distributed? – doppz Nov 25 '13 at 13:10
1 Answers
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