I am new with poisson point process. I did one simluation (matlab) as below. My intensity lambda = 50;
clear all;
lambda=50;
npoints = poissrnd(lambda);
pproc = rand(npoints, 2);
plot(pproc(:, 1), pproc(:, 2), '.');
Then I have plot,
However, the link
http://connor-johnson.com/2014/02/25/spatial-point-processes/
showed me that when intensity lamuda = 0.2, smaller than 1 , he got
The link also showed the code in Python.Please check it.
Here is my question, why intensity is smaller than 1, he still can plot something here? If I let my code's lamda = 0.2, there will be no value to plot. I think I miss something about Poisson point process? or it's a programming problem? I want to simulate this lambda = 0.2 in matlab.
Thank you so much for your help.
total lambda = 0.4. I want to have 100 unit. This means unit intensity = 0.4 * 100 = 40. thank you so much.
la=0.4;
lala=0.4*100;
npoints = poissrnd(lala);
pproc = rand(npoints, 2);
plot(pproc(:, 1).*100, pproc(:, 2).*100, '.');
poisson
function) is not 0.2. Your code only considers one unit of area, which will usually get zero events per unit time (but sometimes 1 or more). This isn't really a programming problem (thus I'm not leaving this as an Answer) – Glutamatenpoints
after is assigned? ;-) – Glutamate