% Table 5 clear,clc load('model') addpath('files') Parameters; % make the vector of parameters params = eval(symparams); % distribution of hatyp nodes = exp([G,G-B]); % hatyp weights = [1-P,P]; % corresponding probabilities T = 2000/period_length; % simulate 2000 years % disaster shock rng('default') disaster = double(rand(1,T+1)