www.gusucode.com > vision 源码程序 matlab案例代码 > vision/RemoveInfinitevaluedPointsFromAPointCloudExample.m

    %% Remove Infinite-valued Points From a Point Cloud
% Create a point cloud object.

% Copyright 2015 The MathWorks, Inc.

   ptCloud = pointCloud(nan(100,3))
% Remove invalid points.
   ptCloud = removeInvalidPoints(ptCloud)