Initial conditions for both are , , . Shared parameters are , , . For (a), . For (b), .
Initial conditions for both are , , . Shared parameters are , , . For (a), , . For (b), , .
Initial conditions are , , . Parameters are , , , , , .
When is large, switching takes longer, causing a drop in , and a large increase in .
Initial conditions are , , . Parameters are , , , .
Parameters for (a) are , , , . For (b), , , , . Shared parameters are , .
Initial conditions are , , , shared parameters are . For (a), , , , (fast habitat change). For (b), , , , (slow habitat change).
marks the start of the switch, marks the end. Other parameters are , , , .
marks the start of the switch, marks the end. Other parameters are , , , .
MATLAB code used for the numerical simulation is attached as additional file.
This contains all the functions used in the analyses presented in the paper. There are accompanying comments that document the parameters used in the model.