08-Oct-2025 12:25:29 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.0011177 Average wait = 1.79431 Maximum wait = 11.032 Count Time Wait 0 0 0 1 2.86571 2.86571 2 4.29787 1.43216 3 6.59443 2.29656 4 7.28278 0.688344 5 8.19134 0.908559 .... .............. .............. 995 1789.67 1.1527 996 1790.21 0.541439 997 1791.68 1.4665 998 1791.94 0.256893 999 1794.25 2.31252 1000 1794.31 0.063601 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.039 Variance = 501.816, STD = 22.4013 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 2.49381, after waiting 2.49381 Event #2 occurs at time 4.38943, after waiting 1.89562 Event #3 occurs at time 8.60031, after waiting 4.21088 Event #4 occurs at time 12.6602, after waiting 4.05987 poisson_simulation_test(): Normal end of execution. 08-Oct-2025 12:26:46