Solution to Exercise 3: MATLAB code for the SIPF model

To learn about this solution (model code) and run simulations follow the same steps described for the code in Exercise 1.

The SIPDF model can be easily constructed similarly to SIPF model, following same steps described to build model SIPD from model SIPD.