Info

此问题已关闭。 请重新打开它进行编辑或回答。

How do I create a homogenous distribution of a random number of points in a 3D space?

1 次查看(过去 30 天)
Hello, I'm trying to implement a code, where you can insert a random number of particles and these will be distributed homogenously inside a defined space and shown as dots. I'm having some troubles with the adaptation-process, since the number of rows in each direction (x,y,z) should vary with the number of points we want to insert. Has someone already done this and could help me? I managed to do this in 2D, but I'm having some trouble with the 3D-implementation. Thanks :)

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by