I have generated random 3D points in MATLAB. The length of the array of the points changes at each run. I want to turn these points into spheres. However, I am not successful yet. Scatter plot of my points are like this:
Each point is represented with x,y and z. Now, I want to use that x,y and z as a center point and generate spheres with r radius? How can I do that?
To give you an idea, an example picture to show what I expect to generate: