Here's a live demo. Try changing F (the plan) or G (the patient list). The convolution 𝑐(𝑡) matches our manual calculation above.