Path: news.mathworks.com!not-for-mail
From: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
Newsgroups: comp.soft-sys.matlab
Subject: Re: particle interaction
Date: Fri, 8 Feb 2008 17:37:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 34
Message-ID: <foi3vv$ai6$1@fred.mathworks.com>
References: <fo6o84$mcu$1@fred.mathworks.com> <fo7jd0$hsh$1@canopus.cc.umanitoba.ca> <fohsjn$4pu$1@fred.mathworks.com>
Reply-To: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1202492223 10822 172.30.248.35 (8 Feb 2008 17:37:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 8 Feb 2008 17:37:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:450196


"matias nordin" <matias.nordin@gmail.com> wrote in message <fohsjn$4pu
$1@fred.mathworks.com>...
> 
> Sorry, what I mean is the following.
> 
> Assume you have N particles.
> Spread the particles equally on a line (with symmetrical
> boundaries).
> 
> Then apply a function (some well defined function) that
> distorts the distance between the particles. The function is
> scaled so that particles don't come too close or too far
> apart. So you can choose that "in that area  the particles
> are at this distance from each other". So I want this:
> 
> equally spread on [1 25] as [1  5  10 15 20]
> 
> apply a function --->
> 
> not equally spread on [1 25] as for example [1 2 3 15 20].
> 
>   Matias
---------
  Matias, you haven't yet told us precisely in what way your f(x) relates to the 
condition that "a small value gives a small spatial distances while a large 
value gives a big spatial distance".  In my previous article in this thread I 
speculated that in a sense the density of spacing of the particles is to be 
inversely proportional to f(x).  This leads to a problem that can be solved in a 
case such as your f(x) = sin(x).  The question is, was that a reasonable 
assumption?

Roger Stafford