I am trying to plot several IRFs for different values of an underlying model parameter. There are two shocks in my model (technology and government spending). My code (see attached) plots the IRFs for the government spending shock correctly, however for the technology shock it only plots the IRFs for one parameter rather than for all parameters.
RBC_sensitivity.m calls RBC.mod. I would be grateful if someone could provide me an explanation (and fix) for this issue. Thanks in advance!