查找由随机二维点定义的凸多边形:查找由随机二维点定义的凸多边形-matlab开发

时间:2021-06-01 19:23:28
【文件属性】:
文件名称:查找由随机二维点定义的凸多边形:查找由随机二维点定义的凸多边形-matlab开发
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-01 19:23:28
matlab 函数“Return_points_polyg_direct”查找任意大的二维点集的子集。 该子集定义了包括上述所有点的凸多边形。 该函数考虑对齐或相同的点。 下面是如何使用具有 100 个随机 2D 点的函数的示例。 初始点为蓝色,凸多边形点以红色链接。 ****************** 清除; nouv_list_points3D=[]; N点=100; %construction d'un ensemble de N points aléatoires list_points_3D=rand(2,Npoints); ligneZ=zeros(1,Npoints); list_points_3D=cat(1,list_points_3D,ligneZ); 情节(list_points_3D(1,:),list_points_3D(2,:)); nouv_list_po
【文件预览】:
Return_points_polyg_direct.zip

网友评论