Add Gaussian noise to mesh or point cloud

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

 Accepted 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))

2 Comments

there is a way to oparate using mu and sigma?
Thank you Brian for your answer.
I have find this in the matlab documentation fo compleate my research.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!