The problem I am facing is as follows. Suppose we have a unit square and we have been given certain no. of finite points, n (For eg n=5) which are randomly spread in the square. Now, we want to partition the square into n convex parts (n=5 here) using these points. So, how can we proceed further? I am stuck at this point - any help will be appreciated.
Edit: Using these points refer to "voronoi diagram". What I am seeking here is an algorithm that could be implemented in matlab to find such regions.