Hai, I am working with a case where I have a generate a 3D tree in iteration of MATLAB loop. I created a 3d geometry and based on the some electrical parameters in the geometry, the next location of the coordinates are being determined. I get a cylinder in the first iteration of the loop, and a second is added in the next. Now the issue is, I want to connect one cylinder to another. This will create a growing tree in each loop. If I run the loop for 100 times, I will get a tree with multiple branches. Is there any way to connect them in the loop.
↧