MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Creating a spherical mass distribution 

Subject: Creating a spherical mass distribution From: Christian Schultz Date: 3 Nov, 2010 17:46:04 Message: 1 of 8 
I'm doing this simulation on a spherical cloud of gas with a 1/r density profile. Of course in order to do any simulations in the first place I need some sample particles distributed on a spherical lattice in a symmetric, uniform way. How do you make a discrete, spherical symmetric cloud in Matlab? If I just needed a spherical surface I could just approximate the spherical surface with a regular polygon, but I need one more dimension since the cloud is a ball. 
Subject: Creating a spherical mass distribution From: Roger Stafford Date: 3 Nov, 2010 18:29:21 Message: 2 of 8 
"Christian Schultz" <spamcatcher@remove.this.easy.com> wrote in message <ias74s$i04$1@fred.mathworks.com>... 
Subject: Creating a spherical mass distribution From: Bruno Luong Date: 3 Nov, 2010 18:52:04 Message: 3 of 8 
"Christian Schultz" <spamcatcher@remove.this.easy.com> wrote in message <ias74s$i04$1@fred.mathworks.com>... 
Subject: Creating a spherical mass distribution From: Christian Schultz Date: 3 Nov, 2010 21:11:03 Message: 4 of 8 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <ias9m1$47d$1@fred.mathworks.com>... 
Subject: Creating a spherical mass distribution From: Christian Schultz Date: 3 Nov, 2010 22:08:03 Message: 5 of 8 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <iasb0k$sr$1@fred.mathworks.com>... 
Subject: Creating a spherical mass distribution From: Walter Roberson Date: 3 Nov, 2010 22:31:41 Message: 6 of 8 
On 101103 04:11 PM, Christian Schultz wrote: 
Subject: Creating a spherical mass distribution From: Bruno Luong Date: 4 Nov, 2010 06:03:04 Message: 7 of 8 

Subject: Creating a spherical mass distribution From: Christian Schultz Date: 7 Nov, 2010 15:34:04 Message: 8 of 8 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <iatiao$73b$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.