Description Usage Arguments Examples
Returns the transition probability from inside strip to inside strip.
Starting coordinate inside strip is assumed to be a uniform random variable
on (-w,w)
, where w
is half-width of strip and cooridnate zero
is centre of strip. Position after movement is assumed to be normal with
mean equal to starting coordinate and standared
deviation sigma
.
Deals only with positive initial coordinate as problem is symmetric about zero.
Integrates CDF of normal distribution only inside strip, from initial coordinate
0
to w
. Integration is done by trapezoid rule.
1 |
sigma |
standard deviation of nomal location distribution |
dmax |
maximum distance can move |
w |
half-width of strip |
nx |
number of intervals to use for approximate integral. |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.