Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.aset.psu.edu!news.cse.psu.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: particle interaction
Date: Fri, 8 Feb 2008 15:45:40 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 17
Message-ID: <fohtf4$k2d$1@canopus.cc.umanitoba.ca>
References: <fo6o84$mcu$1@fred.mathworks.com> <fo7jd0$hsh$1@canopus.cc.umanitoba.ca> <fohsjn$4pu$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1202485540 20557 192.70.172.160 (8 Feb 2008 15:45:40 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Fri, 8 Feb 2008 15:45:40 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:450156


In article <fohsjn$4pu$1@fred.mathworks.com>,
matias nordin <matias.nordin@gmail.com> wrote:

>Assume you have N particles.
>Spread the particles equally on a line (with symmetrical
>boundaries).

>equally spread on [1 25] as [1  5  10 15 20]

That is not equally spread on [1 25] with symmetrical boundaries.
The distance from 20 to 1 is not the same as the distance from
5 to 10, and the distance from 1 to 5 is not the same as the
distance from 5 to 10. Try [1 6 11 16 21]
-- 
   So you found your solution
   What will be your last contribution?
   -- Supertramp (Fool's Overture)