15-May-2025 18:47:07 poisson_simulation_test(): MATLAB/Octave version 6.4.0 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.00364555 Average wait = 2.0313 Maximum wait = 14.5253 Count Time Wait 0 0 0 1 3.43534 3.43534 2 5.27627 1.84093 3 8.93649 3.66022 4 13.851 4.91451 5 15.1108 1.25984 .... .............. .............. 995 2020.76 1.22114 996 2021.45 0.690969 997 2025.6 4.14854 998 2026.13 0.530578 999 2030.59 4.45749 1000 2031.3 0.715082 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.214 Variance = 501.509, STD = 22.3944 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.36719, after waiting 1.36719 Event #2 occurs at time 3.32325, after waiting 1.95607 Event #3 occurs at time 4.82359, after waiting 1.50033 Event #4 occurs at time 9.13044, after waiting 4.30685 Event #5 occurs at time 9.43206, after waiting 0.301622 Event #6 occurs at time 12.8536, after waiting 3.42152 poisson_simulation_test(): Normal end of execution. 15-May-2025 18:48:24