Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 13-May-2025 16:34:12 poisson_simulation_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test poisson_simulation(). poisson_fixed_events_test(): poisson_fixed_events() simulates a Poisson process until a given number of events have occurred. Simulate a Poisson process, for which, on average, LAMBDA events occur per unit time. Run until you have observed EVENT_NUM events. LAMBDA = 0.5 EVENT_NUM = 1000 Minimum wait = 0.00286281 Average wait = 2.05117 Maximum wait = 13.1629 Count Time Wait 0 0 0 1 3.95906 3.95906 2 8.08383 4.12477 3 8.26176 0.177926 4 9.0754 0.813646 5 11.8587 2.78327 .... .............. .............. 995 2041.59 1.4295 996 2041.91 0.324056 997 2046.07 4.15445 998 2046.44 0.370542 999 2047.99 1.54974 1000 2051.17 3.17855 Graphics saved as "poisson_timeline.png" Graphics saved as "poisson_times.png" poisson_fixed_time_test(): poisson_fixed_time() simulates a Poisson process counting the number of events that occur during a given time. Simulate a Poisson process, for which, on average, LAMBDA events occur per unit time. Run for a total of 1000 time units. LAMBDA = 0.5 Mean number of events = 501.297 Variance = 493.014, STD = 22.2039 Graphics saved as "poisson_events.png" poisson_next_event_test(): poisson_next_event() simulates a Poisson process until a single event has occurred. Simulate a Poisson process, for which, on average, LAMBDA events occur per unit time. LAMBDA = 0.5 Event #1 occurs at time 1.94782, after waiting 1.94782 Event #2 occurs at time 3.50679, after waiting 1.55897 Event #3 occurs at time 5.27852, after waiting 1.77172 Event #4 occurs at time 12.1571, after waiting 6.87855 poisson_simulation_test(): Normal end of execution. 13-May-2025 16:37:46