Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 07-Oct-2025 23:34:39 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.00601254 Average wait = 1.98523 Maximum wait = 17.132 Count Time Wait 0 0 0 1 0.589317 0.589317 2 0.70213 0.112813 3 0.912215 0.210084 4 1.24128 0.329063 5 2.3458 1.10452 .... .............. .............. 995 1972.45 0.399812 996 1976.98 4.52322 997 1980.96 3.98563 998 1984.22 3.26211 999 1985.19 0.967472 1000 1985.23 0.0380675 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 = 500.867 Variance = 496.68, STD = 22.2863 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 0.104761, after waiting 0.104761 Event #2 occurs at time 3.41443, after waiting 3.30967 Event #3 occurs at time 6.10826, after waiting 2.69383 Event #4 occurs at time 8.10475, after waiting 1.99649 Event #5 occurs at time 11.0525, after waiting 2.94773 poisson_simulation_test(): Normal end of execution. 07-Oct-2025 23:38:12