<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566</link>
    <title>MATLAB Central Newsreader - evenly distributed subset of points on a sphere</title>
    <description>Feed for thread: evenly distributed subset of points on a sphere</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 30 Oct 2009 14:43:05 -0400</pubDate>
      <title>evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#690963</link>
      <author>Abel Brown</author>
      <description>I have, say, 250 points ~ evenly distributed around the globe (x,y,z coordinates).  I would like to choose N subsets of these points are are also evenly distributed.  I'v been wracking my brain for a few days now and I can't really think of an elegant way to do this. &lt;br&gt;
&lt;br&gt;
Anyone know a reasonable way to tackle this?&lt;br&gt;
&lt;br&gt;
cheers!&lt;br&gt;
&lt;br&gt;
&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 15:03:03 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#690974</link>
      <author>Matt </author>
      <description>&quot;Abel Brown&quot; &amp;lt;brown.2179@osu.edu&amp;gt; wrote in message &amp;lt;hceu1p$f13$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have, say, 250 points ~ evenly distributed around the globe (x,y,z coordinates).  I would like to choose N subsets of these points are are also evenly distributed.  I'v been wracking my brain for a few days now and I can't really think of an elegant way to do this. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Anyone know a reasonable way to tackle this?&lt;br&gt;
&lt;br&gt;
It sounds like a solution might not exist, unless I'm misunderstanding what you mean by &quot;evenly distributed&quot;.&lt;br&gt;
&lt;br&gt;
Suppose you only had 4 evenly distributed points instead of 250. Clearly no subset of the 4 is evenly distributed.</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 15:17:01 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#690980</link>
      <author>Abel Brown</author>
      <description>For sure, I understand the limiting factors.  The initial set of points to choose from would never be less than 75.  &lt;br&gt;
&lt;br&gt;
The number of points will always be much much greater than the number of subsets.&lt;br&gt;
&lt;br&gt;
For instance, my example of 250 points.  6 would definitely be max number of subsets I would ever need. That's a ratio of like 6/250 = 0.025.  &lt;br&gt;
&lt;br&gt;
Even just an approximation/ball park would be great.</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 15:35:18 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#690985</link>
      <author>Matt </author>
      <description>&quot;Abel Brown&quot; &amp;lt;brown.2179@osu.edu&amp;gt; wrote in message &amp;lt;hcf01c$kru$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; For sure, I understand the limiting factors.  The initial set of points to choose from would never be less than 75.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The number of points will always be much much greater than the number of subsets.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; For instance, my example of 250 points.  6 would definitely be max number of subsets I would ever need. That's a ratio of like 6/250 = 0.025.  &lt;br&gt;
----&lt;br&gt;
&lt;br&gt;
I don't see how it's an issue of the number of subsets. &lt;br&gt;
&lt;br&gt;
It's at least partly an issue of the number of points belonging to the subsets. For example, in your case of 250 points, suppose you said that you wanted each of the 6 subsets to contain 249 points. This is equivalent to the problem of choosing one of the 250 points to remove so that the remaining 249 are evenly distributed over the sphere, which is again clearly impossible.</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 15:45:06 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#690987</link>
      <author>Abel Brown</author>
      <description>&lt;br&gt;
You're over complicating the issue.&lt;br&gt;
&lt;br&gt;
250 points evenly distributed over the globe.  I need to break these 250 points into 5-6 evenly distributed subsets or networks.  So 250/6 would be about 40 points in each subset.&lt;br&gt;
&lt;br&gt;
I just want to partition the the original 250 point network into 6 subnetworks or subsets that are themselves evenly distributed.  </description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 15:56:02 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#690990</link>
      <author>Matt </author>
      <description>&quot;Abel Brown&quot; &amp;lt;brown.2179@osu.edu&amp;gt; wrote in message &amp;lt;hcf1m2$32o$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You're over complicating the issue.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 250 points evenly distributed over the globe.  I need to break these 250 points into 5-6 evenly distributed subsets or networks.  So 250/6 would be about 40 points in each subset.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I just want to partition the the original 250 point network into 6 subnetworks or subsets that are themselves evenly distributed.  &lt;br&gt;
================&lt;br&gt;
&lt;br&gt;
How is that less complicated than the hypotheticals I gave you?&lt;br&gt;
&lt;br&gt;
In any case, since you seem to have a tool for generating set S1 of  250 even-spaced points, you presumably can generate a second set S2 of 40 evenly spaced points as well. You can then find take the closest point in S1 to each point in S2 and call that your subset. Since you've said you'd be happy with a ball-park solution, this seems to be a perfectly valid candidate.</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 16:09:02 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#690995</link>
      <author>Abel Brown</author>
      <description>LOL, I did not generate this set of 250 points.  &lt;br&gt;
&lt;br&gt;
This is a little strange.  You seem to be avoiding the question. I need a practical solution not a mathematical proof.  &lt;br&gt;
&lt;br&gt;
250 evenly distributed around the earth.  Need to divide these 250 points into 6 subsets or subnetworks of ~ 250/6 = 40 points each which are themselves evenly distributed around the earth.&lt;br&gt;
&lt;br&gt;
Indeed, generate 40 evenly distributed points on a sphere and choose closes points in super set.  Easy enough ... but how to generate 40 evenly distributed points around the earth?</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 16:33:22 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#691002</link>
      <author>Matt Fetterman</author>
      <description>&quot;Abel Brown&quot; &amp;lt;brown.2179@osu.edu&amp;gt; wrote in message &amp;lt;hcf32u$10a$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; LOL, I did not generate this set of 250 points.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This is a little strange.  You seem to be avoiding the question. I need a practical solution not a mathematical proof.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 250 evenly distributed around the earth.  Need to divide these 250 points into 6 subsets or subnetworks of ~ 250/6 = 40 points each which are themselves evenly distributed around the earth.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Indeed, generate 40 evenly distributed points on a sphere and choose closes points in super set.  Easy enough ... but how to generate 40 evenly distributed points around the earth?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
If you google it, you will find that the problem is surprisingly challenging, so there is no simple answer here.&lt;br&gt;
One interesting webpage is here, I think the optimization technique might work reasonably well. Regards! Matt&lt;br&gt;
&lt;a href=&quot;http://www.math.niu.edu/~rusin/known-math/94/equi_holes&quot;&gt;http://www.math.niu.edu/~rusin/known-math/94/equi_holes&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 16:45:19 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#691005</link>
      <author>Matt </author>
      <description>&quot;Abel Brown&quot; &amp;lt;brown.2179@osu.edu&amp;gt; wrote in message &lt;br&gt;
&lt;br&gt;
&amp;gt; This is a little strange.  You seem to be avoiding the question. I need a practical solution not a mathematical proof.  &lt;br&gt;
====&lt;br&gt;
&lt;br&gt;
Well, no, I'm just learning very slowly from you what the situation is, i.e. where these points come from (you've only now informed us that you didn't generate them yourself), what level of error you're prepared to accept since an exact solution might be impossible (you've  told me you'll accept a ballpark solution but not how inexact it can be) etc... All these things have a bearing on what solution approach we can take.</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 16:48:27 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#691007</link>
      <author>ImageAnalyst</author>
      <description>On Oct 30, 12:09&#160;pm, &quot;Abel Brown&quot; &amp;lt;brown.2...@osu.edu&amp;gt; wrote:&lt;br&gt;
&amp;gt; LOL, I did not generate this set of 250 points. &#160;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; This is a little strange. &#160;You seem to be avoiding the question. I need a practical solution not a mathematical proof. &#160;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 250 evenly distributed around the earth. &#160;Need to divide these 250 points into 6 subsets or subnetworks of ~ 250/6 = 40 points each which are themselves evenly distributed around the earth.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Indeed, generate 40 evenly distributed points on a sphere and choose closes points in super set. &#160;Easy enough ... but how to generate 40 evenly distributed points around the earth?&lt;br&gt;
&lt;br&gt;
--------------------------------------------------------------------------------------------------------------------------------------------------&lt;br&gt;
Abel:&lt;br&gt;
I would imagine that you'd just take every 6th point in the Z&lt;br&gt;
direction.  Visualize this:  you have a bunch (say 250) of points more&lt;br&gt;
or less randomly distributed around the surface of the globe.  Now&lt;br&gt;
imagine that you take a string and fasten it to the point closest to&lt;br&gt;
the North Pole.  Now spiral that string around the globe such that it&lt;br&gt;
traverses every point, say as the string is going from east to west as&lt;br&gt;
you wind the string around the globe clockwise (looking down from the&lt;br&gt;
top).  So now every point on the globe is ordered as to its location&lt;br&gt;
on the string.  Now assuming your initial set was fairly randomly and&lt;br&gt;
uniformly distributed, I think you could get one set which consists of&lt;br&gt;
points&lt;br&gt;
1, 7, 13, 19, 25, etc.&lt;br&gt;
The second set would be one over from that:&lt;br&gt;
2, 8, 14, 20, 26, etc.&lt;br&gt;
and the third set would consist of points&lt;br&gt;
3, 9, 15, 21, 27, etc.&lt;br&gt;
and so on.  Imagine that each set was identified by different colored&lt;br&gt;
beads on the surface of the globe.  It seems like the set of (say) red&lt;br&gt;
beads (taken starting with location 1) would be approximately just as&lt;br&gt;
uniformly scattered as the (say) green beads (take starting with&lt;br&gt;
location 2), and so on.  Every set of different colored beads would be&lt;br&gt;
about as randomly and uniformly positioned as any other set.&lt;br&gt;
&lt;br&gt;
Because we picked up the points by spiraling down, subsequent points&lt;br&gt;
have decreasing Z values (latitude).  So all you need to do is to sort&lt;br&gt;
your array of x,y,z coordinates by the z value and then take every nth&lt;br&gt;
point.  Other sets just start at a different point before taking every&lt;br&gt;
nth point, like my example above.  Does that make sense - do you&lt;br&gt;
follow me?  Does that seem like it will work well enough for you?&lt;br&gt;
Might be worth a try and see how it goes.&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 17:47:03 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#691029</link>
      <author>Abel Brown</author>
      <description>ImageAnalyst &amp;lt;imageanalyst@mailinator.com&amp;gt; wrote in message &amp;lt;067a12b6-b55b-40b8-8c9c-474d70729e13@p8g2000yqb.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; On Oct 30, 12:09?pm, &quot;Abel Brown&quot; &amp;lt;brown.2...@osu.edu&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; LOL, I did not generate this set of 250 points. ?&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; This is a little strange. ?You seem to be avoiding the question. I need a practical solution not a mathematical proof. ?&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; 250 evenly distributed around the earth. ?Need to divide these 250 points into 6 subsets or subnetworks of ~ 250/6 = 40 points each which are themselves evenly distributed around the earth.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Indeed, generate 40 evenly distributed points on a sphere and choose closes points in super set. ?Easy enough ... but how to generate 40 evenly distributed points around the earth?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; --------------------------------------------------------------------------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Abel:&lt;br&gt;
&amp;gt; I would imagine that you'd just take every 6th point in the Z&lt;br&gt;
&amp;gt; direction.  Visualize this:  you have a bunch (say 250) of points more&lt;br&gt;
&amp;gt; or less randomly distributed around the surface of the globe.  Now&lt;br&gt;
&amp;gt; imagine that you take a string and fasten it to the point closest to&lt;br&gt;
&amp;gt; the North Pole.  Now spiral that string around the globe such that it&lt;br&gt;
&amp;gt; traverses every point, say as the string is going from east to west as&lt;br&gt;
&amp;gt; you wind the string around the globe clockwise (looking down from the&lt;br&gt;
&amp;gt; top).  So now every point on the globe is ordered as to its location&lt;br&gt;
&amp;gt; on the string.  Now assuming your initial set was fairly randomly and&lt;br&gt;
&amp;gt; uniformly distributed, I think you could get one set which consists of&lt;br&gt;
&amp;gt; points&lt;br&gt;
&amp;gt; 1, 7, 13, 19, 25, etc.&lt;br&gt;
&amp;gt; The second set would be one over from that:&lt;br&gt;
&amp;gt; 2, 8, 14, 20, 26, etc.&lt;br&gt;
&amp;gt; and the third set would consist of points&lt;br&gt;
&amp;gt; 3, 9, 15, 21, 27, etc.&lt;br&gt;
&amp;gt; and so on.  Imagine that each set was identified by different colored&lt;br&gt;
&amp;gt; beads on the surface of the globe.  It seems like the set of (say) red&lt;br&gt;
&amp;gt; beads (taken starting with location 1) would be approximately just as&lt;br&gt;
&amp;gt; uniformly scattered as the (say) green beads (take starting with&lt;br&gt;
&amp;gt; location 2), and so on.  Every set of different colored beads would be&lt;br&gt;
&amp;gt; about as randomly and uniformly positioned as any other set.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Because we picked up the points by spiraling down, subsequent points&lt;br&gt;
&amp;gt; have decreasing Z values (latitude).  So all you need to do is to sort&lt;br&gt;
&amp;gt; your array of x,y,z coordinates by the z value and then take every nth&lt;br&gt;
&amp;gt; point.  Other sets just start at a different point before taking every&lt;br&gt;
&amp;gt; nth point, like my example above.  Does that make sense - do you&lt;br&gt;
&amp;gt; follow me?  Does that seem like it will work well enough for you?&lt;br&gt;
&amp;gt; Might be worth a try and see how it goes.&lt;br&gt;
&amp;gt; Regards,&lt;br&gt;
&amp;gt; ImageAnalyst&lt;br&gt;
&lt;br&gt;
Brilliant!  I really like this idea!  Nice and simple.  I'll give it a try and let you know how it works out.  &lt;br&gt;
&lt;br&gt;
Fetterman:  Thanks for your reply!  Indeed, I did some reading/googling before posting and pretty much all of the algorithms I found were overkill.  Many folks on the forum have tremendous practical experience.  It's always interesting to see what solutions come up!&lt;br&gt;
&lt;br&gt;
Thanks again!&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 18:18:19 -0400</pubDate>
      <title>Re: evenly distributed subset of points on a sphere</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264566#691037</link>
      <author>Bruno Luong</author>
      <description>&quot;Matt Fetterman&quot; &amp;lt;mattinjersey@yahoo.com&amp;gt; wrote in message &amp;lt;hcf4gi$rcc$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; One interesting webpage is here, I think the optimization technique might work reasonably well. Regards! Matt&lt;br&gt;
&lt;br&gt;
I can't believe such minimization technique hasn't yet available. I think I'll code it and make it available for the community (if it requires a reasonable amount of work).&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
  </channel>
</rss>

