Home > mpt > @polytope > distribpoints.m

distribpoints

PURPOSE ^

DISTRIBPOINTS Distribute n points such that distances between them are maximized

SYNOPSIS ^

function x = distribpoints(P, n, yalmipoptions)

DESCRIPTION ^

DISTRIBPOINTS Distribute n points such that distances between them are maximized

 x = distribpoints(P, n)
 x = distribpoints(P, n, yalmipoptions)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Distributes "n" points inside of a given polytope "P" such that the minimal
 distance between any of the points is maximized.

 NOTE! This procedure is based on mixed-integer programming and can be VERY
 slow for higher dimensions / number of points!

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P              - polytope object
 n              - number of points to distribute
 yalmipoptions  - YALMIP options as generated by sdpsettings

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 x              - coordinates of n points, stored column-wise!

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003