%average fixed-debt ratio by quarter
m.psm.pRfPg(1,:,p) = mean(rfxPgdp,1);   %average fixed-debt (as % of GDP) by quarter
m.psm.pATM(1,:,p)=mean(ATM,1);  %average ATM by quarter
m.psm.pDuration(1,:,p)=mean(mDuration,1);   %average duration by quarter
if p==s.npoids && k==s.nscenario
    m.CPI = CPI_k(:,1:s.nperiod);   %CPI for each simulation by quarter
    m.GDP = GDP_k(:,1:s.nperiod);   %GDP for each simulation by quarter
end    
clear fxfl ATM mDuration rfxPgdp;


%% 7. Save this financing strategy in ma