MATLAB: Add Gaussian noise to mesh or point cloud

meshnoisepoint cloud

There is a function to generete 3d gaussian noise in mesh or point cloud??

Best Answer

You can generate normally-distributed random values with randn. For a point cloud for example, if you have 100 points with x, y, z values, you can create a noise array to add to the point array:
>> gaussNoise=randn(100,3);
>> scatter3(gaussNoise(:,1),gaussNoise(:,2),gaussNoise(:,3))