clear all load CA; load CT; load DE; load GA; load HI; load IL; load IN; load LA; load ME; load MA; load MD; load MI; load MN; load NH; load NJ; load NY; load NC; load OH; load OR; load PA; load RI; load SC; load TX; load VA; load WA; load WI; % US data from tables in Schwartz et al. 2010 load Africa_Eastern; load Africa_Northern; load Africa_Southern; load Africa_Western; load Australia_NZ; load Brazil; load Canada; load Central_America_and_Caribbean; load Central_Asia; load China; load EU_12; load EU_15; load Europe_Eastern; load Europe_Non_EU; load European_Free_Trade_Association; load India; load Indonesia; load Japan; load Mexico; load Middle_East; load Pakistan; load Russia; load South_Africa; load South_America_Northern; load South_America_Southern; load South_Asia; load South_Korea; load Southeast_Asia; load Taiwan; load Argentina; load Columbia; % Global data from Eurek et al. 2016 %% Cost Data euro_to_dollar = 1.33; % $/Euro (Bjerkseter and Agotnes 2013, Appendix Table 3) to_gcam_dollars = 4.33; % 2013 dollars to 1975 dollars (Bureau of Labor Statistics) crf = 0.13; % capital recovery factor (GCAM) GJ_per_MWh = 3.6; % unit conversion EJ_per_MWh = 3.6E-9; % unit conversion MW_per_GW = 1000; % unit conversion density = 5; % MW per sq km no_turbines = 100; % number of turbines in a farm; % rna = 6405000/5; % $/MW (Bjerkseter and Agotnes 2013 p62) % tower = 658000/5; % $/MW (Bjerkseter and Agotnes 2013 p63) turbine_high = 7475000*euro_to_dollar/5000; % $/kW (Myhr et al. 2014 p718) turbine_low = 1583; % $/kW (NREL, Beiter et al. 2016 Table 5) d_and_c_high = 104106000*euro_to_dollar/(5000*100); % $/kW (Myhr et al. 2014 p717) d_and_c_low = 196; % $/kW (NREL, Beiter et al. 2016 Table 5) insurance_low = 50000*euro_to_dollar/1000; % $/kW (Myhr et al. 2014 p718) insurance_high = 87; % $/kW (NREL, Mone et al. 2013 Table 13) decommissioning_low = 64000*euro_to_dollar/1000; % $/kW (Bjerkseter and Agotnes 2013) decommissioning_high = 115; % $/kW (NREL, Mone 2013 Table 13 Beiter et al. 2016 15% of installation CapEx) other = 90+156+432; % $/kW (NREL, Mone et al. 2013 Table 13) includes contingency, excluded by Myhr % from Beiter et al. 2016: insurance is 1% of CapEx, commissioning 1% of CapEx, % Contingency is 30% of installation CapEx depth = [15 30 45 60 100 300 1000]; % m distance = [1.5 3 4.5 5 7.5 9 10.5 12 12.5 20 31 35 50 75 100]'; % nm nm_to_km = 1.852; % convert nm to km substructure_low = zeros(1,length(depth)); substructure_high = zeros(1,length(depth)); substructure_low(1) = [2*850*1000*euro_to_dollar/5000]; % $/kW (Bjerkseter and Agotnes 2013 p65, p132 monopile) substructure_low(2) = [2400000*euro_to_dollar/5000]; % $/kW (Myhr et al. 2014 Table 6 monopile) substructure_low(3) = [3180000*euro_to_dollar/5000]; % $/kW (Myhr et al. 2014 Table 6 jacket) substructure_low(4) = [7500000*euro_to_dollar/5000]; % $/kW (Myhr et al. 2014 Table 7 floating) substructure_low(5) = substructure_low(4); substructure_low(6) = substructure_low(4); substructure_low(7) = substructure_low(4); substructure_high(1) = 730; % $/kW (NREL, Mone et al. 2013 Table 13) substructure_high(2) = substructure_high(1)*substructure_low(2)/substructure_low(1); % estimated substructure_high(3) = substructure_high(1)*substructure_low(3)/substructure_low(1); % estimated substructure_high(4) = substructure_low(4); substructure_high(5) = substructure_low(4); substructure_high(6) = substructure_low(4); substructure_high(7) = substructure_low(4); wire = 45*euro_to_dollar; % $/m (Myhr et al. 2014 p719) chain = 250*euro_to_dollar; % $/m (Myhr et al. 2014 p719) anchors = 456000*euro_to_dollar/5000; % $/kW (Myhr et al. 2014 Table 8) mooring_length = zeros(1,length(depth)); mooring_cost = zeros(1,length(depth)); for i = 4:length(depth); mooring_length(i) = 500-(150*(100-depth(i))/100)+60; % m (Bjerkseter and Agotnes 2013 p75-76) mooring_cost(i) = (4*(mooring_length(i)-50)*wire+4*50*chain)/5000+anchors; % $/kW (Bjerkseter and Agotnes 2013 p75-76) end base_hvac = (48953500+29370000)/(5000*no_turbines); % $/kW (NREL, Green et al. 2007 Table 5&6 turbine transformers, offshore substation, onshore substation) base_hvdc = (71500000+143000000+23800000)*euro_to_dollar/(5000*no_turbines); % $/kW (Myhr et al. 2014 p720-721, stations and install) base_hvdc_f = (71500000+161700000+18600000)*euro_to_dollar/(5000*no_turbines); % $/kW (Myhr et al. 2014 p720-721, stations and install) base_hvac_f = base_hvac*(base_hvdc_f/base_hvdc); % estimate electrical_length_by_depth = zeros(1,length(depth)); electrical_by_depth = zeros(1,length(depth)); electrical_install_by_depth = zeros(1,length(depth)); elec_length_base = 191.6; % km for inter-array cables in 30m water depth (Myhr et al. 2014 p719) interarray_per_km = 281000; % euro per km (Myhr et al. 2014 p719) interarray_install_per_km = 190000; % euro per km (Myhr et al. 2014 p721) for i = 1:length(depth); electrical_length_by_depth(i) = elec_length_base+(2*(depth(i)-30)/1000)*no_turbines; electrical_by_depth(i) = electrical_length_by_depth(i)*interarray_per_km*euro_to_dollar/(5000*no_turbines); electrical_install_by_depth(i) = electrical_length_by_depth(i)*interarray_install_per_km*euro_to_dollar/(5000*no_turbines); end hvac_by_distance = zeros(1,length(distance))'; hvac_install_by_distance = zeros(1,length(distance))'; hvdc_by_distance = zeros(1,length(distance))'; hvdc_install_by_distance = zeros(1,length(distance))'; hvdc_per_km = 443000; % euro per km (Myhr et al. 2014 p720) hvdc_install_per_km = (354000+826000)/2; % euro per km (Myhr et al. 2014 p721) for i = 1:length(distance); hvac_by_distance(i) = 900000*distance(i)*nm_to_km/(5000*no_turbines); % $/kW (NREL, Green et al. 2007 Table 1&3, cable plus freight) hvac_install_by_distance(i) = 100000*distance(i)*nm_to_km/(5000*no_turbines); % $/kW (NREL, Green et al. 2007 Table 3) hvdc_by_distance(i) = hvdc_per_km*distance(i)*nm_to_km*euro_to_dollar/(5000*no_turbines); % $/kW hvdc_install_by_distance(i) = hvdc_install_per_km*distance(i)*nm_to_km*euro_to_dollar/(5000*no_turbines); % $/kW end base_install_m = 1538000; % euros per turbine (Myhr et al. 2014 Table 10) base_install_j = 1951000; % euros per turbine (Myhr et al. 2014 Table 11) base_install_f_low = 644000; % euros per turbine (Myhr et al. 2014 p721) base_install_f_high = 1943000; % euros per turbine (Bjerkseter and Agotnes 2013 Table 25) base_install_distance = 200; % km (Myhr et al. 2014 Table 1) install_m = zeros(1,length(distance)); install_m_high = zeros(1,length(distance)); install_j = zeros(1,length(distance)); install_j_high = zeros(1,length(distance)); install_f_low = zeros(1,length(distance)); install_f_high = zeros(1,length(distance)); jack_up_day_rate = 196000; % euros per day (Myhr et al. 2014 Table 4) ahts_day_rate = 91000; % euros per day (Myhr et al. 2014 Table 4) psv_day_rate = 46000; % euros per day (Myhr et al. 2014 Table 4) tug_day_rate = 17000; % euros per day (Myhr et al. 2014 Table 4) personnel_day_rate = 370; % euros per day (Myhr et al. 2014 p717) no_personnel = 30; % (Myhr et al. 2014 p720) jack_up_speed = 11; % knots (Myhr et al. 2014 p720) ahts_speed = 15; % knots (Bjerkseter and Agotnes 2013 Table 22) ahts_wow = 100/90; % (Bjerkseter and Agotnes 2013 Table 22) ahts_towing_turbine = 5; % knots (Bjerkseter and Agotnes 2013 Table 22) ahts_towing_t_wow = 100/55; % (Bjerkseter and Agotnes 2013 Table 22) ahts_towing_floater_tower = 6; % knots (Bjerkseter and Agotnes 2013 Table 22) ahts_towing_f_t_wow = 100/65; % (Bjerkseter and Agotnes 2013 Table 22) ahts_towing_floater = 6.5; % knots (Bjerkseter and Agotnes 2013 Table 22) ahts_towing_f_wow = 100/70; % (Bjerkseter and Agotnes 2013 Table 22) ahts_anchor_wow = 100/75; % (Myhr et al. 2014 p721) ahts_anchor_install_wow = 100/60; % (Myhr et al. 2014 p721) psv_speed = 18; % knots (Bjerkseter and Agotnes 2013 p91) psv_wow = 100/70; % (Bjerkseter and Agotnes 2013 p91) jack_up_wow_subs = 100/75; % substructure install weather window (Myhr et al. 2014 Table 10,11) jack_up_wow_turb = 100/80; % turbine install weather window (Myhr et al. 2014 Table 10,11) personnel_wow_subs = 100/52; % substructure install weather window (Myhr et al. 2014 Table 10,11) personnel_wow_turb = 100/54; % substructure install weather window (Myhr et al. 2014 Table 10,11) hours_per_day = 24; for i = 1:length(distance); install_m(i) = (base_install_m-(((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(2/9)*(100/75)*jack_up_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(1/9)*(100/80)*jack_up_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/52)*personnel_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/54)*personnel_day_rate))*euro_to_dollar/5000; install_j(i) = (base_install_j-(((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(2/9)*(100/75)*jack_up_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(1/9)*(100/80)*jack_up_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/52)*personnel_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/54)*personnel_day_rate))*euro_to_dollar/5000; install_f_low(i) = (base_install_f_low-((base_install_distance-distance(i)*nm_to_km)*2/(ahts_towing_turbine*nm_to_km*hours_per_day))*ahts_towing_t_wow*ahts_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(ahts_towing_turbine*nm_to_km*hours_per_day))*ahts_towing_t_wow*2*tug_day_rate)*euro_to_dollar/5000; install_f_high(i) = (base_install_f_high-((base_install_distance-distance(i)*nm_to_km)*2/(ahts_towing_floater_tower*nm_to_km*hours_per_day))*(1/2)*ahts_towing_f_t_wow*ahts_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(ahts_towing_floater_tower*nm_to_km*hours_per_day))*ahts_towing_f_t_wow*tug_day_rate+... ((base_install_distance-distance(i)*nm_to_km)*2/(psv_speed*nm_to_km*hours_per_day))*(1/3)*psv_wow*psv_day_rate)*euro_to_dollar/5000; end base_install_m_high = (1053-electrical_install_by_depth(1)-hvac_install_by_distance(7))*5000/euro_to_dollar; % euros per turbine (NREL, Mone et al. 2013 Table 13) base_install_j_high = install_j(7)*base_install_m_high/install_m(7); % euros per turbine estimated base_install_distance_high = 10.5; % nm for i = 1:length(distance); install_m_high(i) = (base_install_m_high-(((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(2/9)*(100/75)*jack_up_day_rate+... ((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(1/9)*(100/80)*jack_up_day_rate+... ((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/52)*personnel_day_rate+... ((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/54)*personnel_day_rate))*euro_to_dollar/5000; install_j_high(i) = (base_install_j_high-(((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(2/9)*(100/75)*jack_up_day_rate+... ((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*(1/9)*(100/80)*jack_up_day_rate+... ((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/52)*personnel_day_rate+... ((base_install_distance_high-distance(i)*nm_to_km)*2/(jack_up_speed*nm_to_km*hours_per_day))*no_personnel*(100/54)*personnel_day_rate))*euro_to_dollar/5000; end mooring_install = zeros(1,length(distance))'; for i = 1:length(distance); mooring_install(i) = ((distance(i)*nm_to_km*2/(ahts_speed*nm_to_km*hours_per_day))*(4/15)*ahts_anchor_wow+ahts_anchor_install_wow*4*(8/24))*ahts_day_rate*euro_to_dollar/5000; end total_capital_low = zeros(length(distance),length(depth)); total_capital_high = zeros(length(distance),length(depth)); for i = 1:length(depth); for j = 1:length(distance); total_capital_low(j,i) = turbine_low+d_and_c_low+insurance_low+decommissioning_low+other+... substructure_low(i)+... electrical_by_depth(i)+electrical_install_by_depth(i)+hvac_by_distance(j)+hvac_install_by_distance(j); total_capital_high(j,i) = turbine_high+d_and_c_high+insurance_high+decommissioning_high+other+... substructure_high(i)+... electrical_by_depth(i)+electrical_install_by_depth(i)+hvac_by_distance(j)+hvac_install_by_distance(j); if depth(i) > 45; total_capital_low(j,i) = total_capital_low(j,i)+base_hvac_f+... mooring_cost(i)+mooring_install(j)+install_f_low(j); total_capital_high(j,i) = total_capital_high(j,i)+base_hvac_f+... mooring_cost(i)+mooring_install(j)+install_f_high(j); elseif depth(i) == 45; total_capital_low(j,i) = total_capital_low(j,i)+base_hvac+... install_j(j); total_capital_high(j,i) = total_capital_high(j,i)+base_hvac+... install_j_high(j); elseif depth(i) < 45; total_capital_low(j,i) = total_capital_low(j,i)+base_hvac+... install_m(j); total_capital_high(j,i) = total_capital_high(j,i)+base_hvac+... install_m_high(j); end end end om_low = 136; % $/kW (Mone et al. 2013 p41) om_high = 115000*euro_to_dollar/1000; % $/kW bottom-fixed (Myhr et al. 2014 p724) om_high_f = 131000*euro_to_dollar/1000; % $/kW floating (Myhr et al. 2014 p724) %% Wind Speed Data shape = 2.1; % (NREL, Mone et al. 2013 Table 14) power_curve = [0 0 40.5 177.7 403.9 737.6 1187.2 1771.1 2518.6 3448.4 4562.5 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000]; % kW cut_in = 3; cut_out = 25; wind_speeds = [6.8 7 7.5 8 8.5 8.8 9 9.5 10 10.5 11 11.5 11.9 12 13 14 15 16]; ws = cut_in:cut_out; prob = zeros(length(wind_speeds),length(ws)); for i = 1:length(wind_speeds); scale = wind_speeds(i)/gamma(1+(1/shape)); % (Manwell et al. 2009 Ch 2) for j = 1:length(ws); if ws(j) == cut_in || ws(j) == cut_out; prob(i,j) = wblpdf(ws(j),scale,shape)*power_curve(ws(j))*0.5; else prob(i,j) = wblpdf(ws(j),scale,shape)*power_curve(ws(j)); end end end cf = zeros(1,length(wind_speeds))'; for i = 1:length(wind_speeds); cf(i) = sum(prob(i,:))/5000; end losses_low = 0.11; % (Myhr et al. 2014, Bjerkseter and Agotnes 2013) losses_high = 0.19; % (NREL, Mone et al. 2013 Table 15, Beiter et al. 2016) cf_low = cf*(1-losses_high); cf_high = cf*(1-losses_low); %% Resource Curves % usa bins: 7.0-7.5, 7.5-8.0, 8.0-8.5, 8.5-9.0, 9.0-9.5, 9.5-10.0, % 10.0-10.5 (or 10.0-11.0 for OR, 10.0-11.5 for HI) % global bins: 6.8-7.5, 7.5-8.0, 8.0-8.8, 8.8-11.9, 11.9-14.0 usa_bins_low = [7 7.5 8 8.5 9 9.5 10]; usa_bins_high = [7.5 8 8.5 9 9.5 10 10.5]; OR_bins_high = [7.5 8 8.5 9 9.5 10 11]; HI_bins_high = [7.5 8 8.5 9 9.5 10 11.5]; global_bins_low = [0 0 0 6.8 7.5 8 8.8 11.9 14]; global_bins_high = [0 0 0 7.5 8 8.8 11.9 14 14]; lcoe_owe1_low = zeros(length(distance),length(depth)); lcoe_owe1_high = zeros(length(distance),length(depth)); lcoe_owe2_low = zeros(length(distance),length(depth)); lcoe_owe2_high = zeros(length(distance),length(depth)); lcoe_owe3_low = zeros(length(distance),length(depth)); lcoe_owe3_high = zeros(length(distance),length(depth)); lcoe_owe4_low = zeros(length(distance),length(depth)); lcoe_owe4_high = zeros(length(distance),length(depth)); lcoe_owe5_low = zeros(length(distance),length(depth)); lcoe_owe5_high = zeros(length(distance),length(depth)); lcoe_owe6_low = zeros(length(distance),length(depth)); lcoe_owe6_high = zeros(length(distance),length(depth)); lcoe_owe7_low = zeros(length(distance),length(depth)); lcoe_owe7_high = zeros(length(distance),length(depth)); lcoe_owe7_low_OR = zeros(length(distance),length(depth)); lcoe_owe7_low_HI = zeros(length(distance),length(depth)); index_low = find(wind_speeds == usa_bins_low(1)); index_high = find(wind_speeds == usa_bins_high(1)); lcoe_owe1_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe1_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owe1_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owe1_low_gcam = lcoe_owe1_low/to_gcam_dollars; lcoe_owe1_high_gcam = lcoe_owe1_high/to_gcam_dollars; index_low = find(wind_speeds == usa_bins_low(2)); index_high = find(wind_speeds == usa_bins_high(2)); lcoe_owe2_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe2_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owe2_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owe2_low_gcam = lcoe_owe2_low/to_gcam_dollars; lcoe_owe2_high_gcam = lcoe_owe2_high/to_gcam_dollars; index_low = find(wind_speeds == usa_bins_low(3)); index_high = find(wind_speeds == usa_bins_high(3)); lcoe_owe3_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe3_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owe3_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owe3_low_gcam = lcoe_owe3_low/to_gcam_dollars; lcoe_owe3_high_gcam = lcoe_owe3_high/to_gcam_dollars; index_low = find(wind_speeds == usa_bins_low(4)); index_high = find(wind_speeds == usa_bins_high(4)); lcoe_owe4_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe4_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owe4_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owe4_low_gcam = lcoe_owe4_low/to_gcam_dollars; lcoe_owe4_high_gcam = lcoe_owe4_high/to_gcam_dollars; index_low = find(wind_speeds == usa_bins_low(5)); index_high = find(wind_speeds == usa_bins_high(5)); lcoe_owe5_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe5_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owe5_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owe5_low_gcam = lcoe_owe5_low/to_gcam_dollars; lcoe_owe5_high_gcam = lcoe_owe5_high/to_gcam_dollars; index_low = find(wind_speeds == usa_bins_low(6)); index_high = find(wind_speeds == usa_bins_high(6)); lcoe_owe6_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe6_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owe6_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owe6_low_gcam = lcoe_owe6_low/to_gcam_dollars; lcoe_owe6_high_gcam = lcoe_owe6_high/to_gcam_dollars; index_low = find(wind_speeds == usa_bins_low(7)); index_high = find(wind_speeds == usa_bins_high(7)); lcoe_owe7_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe7_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owe7_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owe7_low_gcam = lcoe_owe7_low/to_gcam_dollars; lcoe_owe7_high_gcam = lcoe_owe7_high/to_gcam_dollars; index_high = find(wind_speeds == OR_bins_high(7)); lcoe_owe7_low_OR = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe7_low_OR_gcam = lcoe_owe7_low_OR/to_gcam_dollars; index_high = find(wind_speeds == HI_bins_high(7)); lcoe_owe7_low_HI = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owe7_low_HI_gcam = lcoe_owe7_low_HI/to_gcam_dollars; lcoe_owec4_low = zeros(length(distance),length(depth)); lcoe_owec4_high = zeros(length(distance),length(depth)); lcoe_owec5_low = zeros(length(distance),length(depth)); lcoe_owec5_high = zeros(length(distance),length(depth)); lcoe_owec6_low = zeros(length(distance),length(depth)); lcoe_owec6_high = zeros(length(distance),length(depth)); lcoe_owec7_low = zeros(length(distance),length(depth)); lcoe_owec7_high = zeros(length(distance),length(depth)); lcoe_owec89_low = zeros(length(distance),length(depth)); lcoe_owec89_high = zeros(length(distance),length(depth)); index_low = find(wind_speeds == global_bins_low(4)); index_high = find(wind_speeds == global_bins_high(4)); lcoe_owec4_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owec4_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owec4_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owec4_low_gcam = lcoe_owec4_low/to_gcam_dollars; lcoe_owec4_high_gcam = lcoe_owec4_high/to_gcam_dollars; index_low = find(wind_speeds == global_bins_low(5)); index_high = find(wind_speeds == global_bins_high(5)); lcoe_owec5_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owec5_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owec5_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owec5_low_gcam = lcoe_owec5_low/to_gcam_dollars; lcoe_owec5_high_gcam = lcoe_owec5_high/to_gcam_dollars; index_low = find(wind_speeds == global_bins_low(6)); index_high = find(wind_speeds == global_bins_high(6)); lcoe_owec6_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owec6_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owec6_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owec6_low_gcam = lcoe_owec6_low/to_gcam_dollars; lcoe_owec6_high_gcam = lcoe_owec6_high/to_gcam_dollars; index_low = find(wind_speeds == global_bins_low(7)); index_high = find(wind_speeds == global_bins_high(7)); lcoe_owec7_low = (total_capital_low*crf+om_low)/(cf_high(index_high)*8760); lcoe_owec7_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_low)*8760); lcoe_owec7_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_low)*8760); lcoe_owec7_low_gcam = lcoe_owec7_low/to_gcam_dollars; lcoe_owec7_high_gcam = lcoe_owec7_high/to_gcam_dollars; index_low = find(wind_speeds == global_bins_low(8)); index_high = find(wind_speeds == global_bins_high(8)); lcoe_owec89_low = (total_capital_low*crf+om_low)/(cf_high(index_low)*8760); lcoe_owec89_high(:,1:3) = (total_capital_high(:,1:3)*crf+om_high)/(cf_low(index_high)*8760); lcoe_owec89_high(:,4:end) = (total_capital_high(:,4:end)*crf+om_high_f)/(cf_low(index_high)*8760); lcoe_owec89_low_gcam = lcoe_owec89_low/to_gcam_dollars; lcoe_owec89_high_gcam = lcoe_owec89_high/to_gcam_dollars; usa_low = [15 30 60 15 30 60 15 30 60; 1.5 1.5 1.5 3 3 3 12 12 12]; usa_mid = [15 45 100 15 45 100 15 45 100; 1.5 1.5 1.5 7.5 7.5 7.5 31 31 31]; usa_high = [30 60 300 30 60 300 30 60 300; 3 3 3 12 12 12 50 50 50]; tx_low = [15 30 60 15 30 60 15 30 60; 4.5 4.5 4.5 9 9 9 12 12 12]; tx_mid = [15 45 100 15 45 100 15 45 100; 4.5 4.5 4.5 10.5 10.5 10.5 31 31 31]; tx_high = [30 60 300 30 60 300 30 60 300; 9 9 9 12 12 12 50 50 50]; global_low = [15 30 60 15 30 60 15 30 60; 5 5 5 20 20 20 50 50 50]; global_mid = [15 45 100 15 45 100 15 45 100; 12.5 12.5 12.5 35 35 35 75 75 75]; global_high = [30 60 300 30 60 300 30 60 300; 20 20 20 50 50 50 100 100 100]; for i = 1:length(usa_low); usa_owe1_low(i) = lcoe_owe1_low(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe1_high(i) = lcoe_owe1_high(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe1_low_gcam(i) = lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe1_high_gcam(i) = lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe2_low(i) = lcoe_owe2_low(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe2_high(i) = lcoe_owe2_high(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe2_low_gcam(i) = lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe2_high_gcam(i) = lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe3_low(i) = lcoe_owe3_low(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe3_high(i) = lcoe_owe3_high(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe3_low_gcam(i) = lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe3_high_gcam(i) = lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe4_low(i) = lcoe_owe4_low(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe4_high(i) = lcoe_owe4_high(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe4_low_gcam(i) = lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe4_high_gcam(i) = lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe5_low(i) = lcoe_owe5_low(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe5_high(i) = lcoe_owe5_high(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe5_low_gcam(i) = lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe5_high_gcam(i) = lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe6_low(i) = lcoe_owe6_low(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe6_high(i) = lcoe_owe6_high(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe6_low_gcam(i) = lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe6_high_gcam(i) = lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe7_low(i) = lcoe_owe7_low(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe7_high(i) = lcoe_owe7_high(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe7_low_gcam(i) = lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); usa_owe7_high_gcam(i) = lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); OR_owe7_low(i) = lcoe_owe7_low_OR(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); OR_owe7_low_gcam(i) = lcoe_owe7_low_OR_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); HI_owe7_low(i) = lcoe_owe7_low_HI(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); HI_owe7_low_gcam(i) = lcoe_owe7_low_HI_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i))); tx_owe1_low(i) = lcoe_owe1_low(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe1_high(i) = lcoe_owe1_high(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe1_low_gcam(i) = lcoe_owe1_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe1_high_gcam(i) = lcoe_owe1_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe2_low(i) = lcoe_owe2_low(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe2_high(i) = lcoe_owe2_high(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe2_low_gcam(i) = lcoe_owe2_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe2_high_gcam(i) = lcoe_owe2_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe3_low(i) = lcoe_owe3_low(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe3_high(i) = lcoe_owe3_high(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe3_low_gcam(i) = lcoe_owe3_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe3_high_gcam(i) = lcoe_owe3_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe4_low(i) = lcoe_owe4_low(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe4_high(i) = lcoe_owe4_high(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe4_low_gcam(i) = lcoe_owe4_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe4_high_gcam(i) = lcoe_owe4_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe5_low(i) = lcoe_owe5_low(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe5_high(i) = lcoe_owe5_high(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe5_low_gcam(i) = lcoe_owe5_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe5_high_gcam(i) = lcoe_owe5_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe6_low(i) = lcoe_owe6_low(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe6_high(i) = lcoe_owe6_high(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe6_low_gcam(i) = lcoe_owe6_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe6_high_gcam(i) = lcoe_owe6_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe7_low(i) = lcoe_owe7_low(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe7_high(i) = lcoe_owe7_high(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe7_low_gcam(i) = lcoe_owe7_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); tx_owe7_high_gcam(i) = lcoe_owe7_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i))); global_owec4_low(i) = lcoe_owec4_low(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec4_high(i) = lcoe_owec4_high(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec4_low_gcam(i) = lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec4_high_gcam(i) = lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec5_low(i) = lcoe_owec5_low(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec5_high(i) = lcoe_owec5_high(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec5_low_gcam(i) = lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec5_high_gcam(i) = lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec6_low(i) = lcoe_owec6_low(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec6_high(i) = lcoe_owec6_high(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec6_low_gcam(i) = lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec6_high_gcam(i) = lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec7_low(i) = lcoe_owec7_low(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec7_high(i) = lcoe_owec7_high(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec7_low_gcam(i) = lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec7_high_gcam(i) = lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec89_low(i) = lcoe_owec89_low(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec89_high(i) = lcoe_owec89_high(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec89_low_gcam(i) = lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); global_owec89_high_gcam(i) = lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i))); end CA_energy_low = zeros(size(CA)); CA_energy_high = zeros(size(CA)); CT_energy_low = zeros(size(CT)); CT_energy_high = zeros(size(CT)); DE_energy_low = zeros(size(DE)); DE_energy_high = zeros(size(DE)); GA_energy_low = zeros(size(GA)); GA_energy_high = zeros(size(GA)); HI_energy_low = zeros(size(HI)); HI_energy_high = zeros(size(HI)); IL_energy_low = zeros(size(IL)); IL_energy_high = zeros(size(IL)); IN_energy_low = zeros(size(IN)); IN_energy_high = zeros(size(IN)); LA_energy_low = zeros(size(LA)); LA_energy_high = zeros(size(LA)); ME_energy_low = zeros(size(ME)); ME_energy_high = zeros(size(ME)); MA_energy_low = zeros(size(MA)); MA_energy_high = zeros(size(MA)); MD_energy_low = zeros(size(MD)); MD_energy_high = zeros(size(MD)); MI_energy_low = zeros(size(MI)); MI_energy_high = zeros(size(MI)); MN_energy_low = zeros(size(MN)); MN_energy_high = zeros(size(MN)); NH_energy_low = zeros(size(NH)); NH_energy_high = zeros(size(NH)); NJ_energy_low = zeros(size(NJ)); NJ_energy_high = zeros(size(NJ)); NY_energy_low = zeros(size(NY)); NY_energy_high = zeros(size(NY)); NC_energy_low = zeros(size(NC)); NC_energy_high = zeros(size(NC)); OH_energy_low = zeros(size(OH)); OH_energy_high = zeros(size(OH)); OR_energy_low = zeros(size(OR)); OR_energy_high = zeros(size(OR)); PA_energy_low = zeros(size(PA)); PA_energy_high = zeros(size(PA)); RI_energy_low = zeros(size(RI)); RI_energy_high = zeros(size(RI)); SC_energy_low = zeros(size(SC)); SC_energy_high = zeros(size(SC)); TX_energy_low = zeros(size(TX)); TX_energy_high = zeros(size(TX)); VA_energy_low = zeros(size(VA)); VA_energy_high = zeros(size(VA)); WA_energy_low = zeros(size(WA)); WA_energy_high = zeros(size(WA)); WI_energy_low = zeros(size(WI)); WI_energy_high = zeros(size(WI)); for i = 1:size(CA,2); CA_energy_low(:,i) = CA(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); CA_energy_high(:,i) = CA(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); CT_energy_low(:,i) = CT(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); CT_energy_high(:,i) = CT(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); DE_energy_low(:,i) = DE(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); DE_energy_high(:,i) = DE(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); GA_energy_low(:,i) = GA(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); GA_energy_high(:,i) = GA(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); HI_energy_low(:,i) = HI(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); HI_energy_high(:,i) = HI(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == HI_bins_high(i)); IL_energy_low(:,i) = IL(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); IL_energy_high(:,i) = IL(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); IN_energy_low(:,i) = IN(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); IN_energy_high(:,i) = IN(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); LA_energy_low(:,i) = LA(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); LA_energy_high(:,i) = LA(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); ME_energy_low(:,i) = ME(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); ME_energy_high(:,i) = ME(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); MA_energy_low(:,i) = MA(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); MA_energy_high(:,i) = MA(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); MD_energy_low(:,i) = MD(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); MD_energy_high(:,i) = MD(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); MI_energy_low(:,i) = MI(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); MI_energy_high(:,i) = MI(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); MN_energy_low(:,i) = MN(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); MN_energy_high(:,i) = MN(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); NH_energy_low(:,i) = NH(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); NH_energy_high(:,i) = NH(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); NJ_energy_low(:,i) = NJ(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); NJ_energy_high(:,i) = NJ(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); NY_energy_low(:,i) = NY(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); NY_energy_high(:,i) = NY(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); NC_energy_low(:,i) = NC(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); NC_energy_high(:,i) = NC(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); OH_energy_low(:,i) = OH(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); OH_energy_high(:,i) = OH(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); OR_energy_low(:,i) = OR(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); OR_energy_high(:,i) = OR(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == OR_bins_high(i)); PA_energy_low(:,i) = PA(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); PA_energy_high(:,i) = PA(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); RI_energy_low(:,i) = RI(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); RI_energy_high(:,i) = RI(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); SC_energy_low(:,i) = SC(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); SC_energy_high(:,i) = SC(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); TX_energy_low(:,i) = TX(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); TX_energy_high(:,i) = TX(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); VA_energy_low(:,i) = VA(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); VA_energy_high(:,i) = VA(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); WA_energy_low(:,i) = WA(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); WA_energy_high(:,i) = WA(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); WI_energy_low(:,i) = WI(:,i)*density*8760*EJ_per_MWh*cf_low(wind_speeds == usa_bins_low(i)); WI_energy_high(:,i) = WI(:,i)*density*8760*EJ_per_MWh*cf_high(wind_speeds == usa_bins_high(i)); end CA_1_low_l = zeros(9,2); CA_1_high_l = zeros(9,2); CA_1_low_h = zeros(9,2); CA_1_high_h = zeros(9,2); CA_2_low_l = zeros(9,2); CA_2_high_l = zeros(9,2); CA_2_low_h = zeros(9,2); CA_2_high_h = zeros(9,2); CA_3_low_l = zeros(9,2); CA_3_high_l = zeros(9,2); CA_3_low_h = zeros(9,2); CA_3_high_h = zeros(9,2); CA_4_low_l = zeros(9,2); CA_4_high_l = zeros(9,2); CA_4_low_h = zeros(9,2); CA_4_high_h = zeros(9,2); CA_5_low_l = zeros(9,2); CA_5_high_l = zeros(9,2); CA_5_low_h = zeros(9,2); CA_5_high_h = zeros(9,2); CA_6_low_l = zeros(9,2); CA_6_high_l = zeros(9,2); CA_6_low_h = zeros(9,2); CA_6_high_h = zeros(9,2); CA_7_low_l = zeros(9,2); CA_7_high_l = zeros(9,2); CA_7_low_h = zeros(9,2); CA_7_high_h = zeros(9,2); CT_1_low_l = zeros(9,2); CT_1_high_l = zeros(9,2); CT_1_low_h = zeros(9,2); CT_1_high_h = zeros(9,2); CT_2_low_l = zeros(9,2); CT_2_high_l = zeros(9,2); CT_2_low_h = zeros(9,2); CT_2_high_h = zeros(9,2); CT_3_low_l = zeros(9,2); CT_3_high_l = zeros(9,2); CT_3_low_h = zeros(9,2); CT_3_high_h = zeros(9,2); CT_4_low_l = zeros(9,2); CT_4_high_l = zeros(9,2); CT_4_low_h = zeros(9,2); CT_4_high_h = zeros(9,2); CT_5_low_l = zeros(9,2); CT_5_high_l = zeros(9,2); CT_5_low_h = zeros(9,2); CT_5_high_h = zeros(9,2); CT_6_low_l = zeros(9,2); CT_6_high_l = zeros(9,2); CT_6_low_h = zeros(9,2); CT_6_high_h = zeros(9,2); CT_7_low_l = zeros(9,2); CT_7_high_l = zeros(9,2); CT_7_low_h = zeros(9,2); CT_7_high_h = zeros(9,2); DE_1_low_l = zeros(9,2); DE_1_high_l = zeros(9,2); DE_1_low_h = zeros(9,2); DE_1_high_h = zeros(9,2); DE_2_low_l = zeros(9,2); DE_2_high_l = zeros(9,2); DE_2_low_h = zeros(9,2); DE_2_high_h = zeros(9,2); DE_3_low_l = zeros(9,2); DE_3_high_l = zeros(9,2); DE_3_low_h = zeros(9,2); DE_3_high_h = zeros(9,2); DE_4_low_l = zeros(9,2); DE_4_high_l = zeros(9,2); DE_4_low_h = zeros(9,2); DE_4_high_h = zeros(9,2); DE_5_low_l = zeros(9,2); DE_5_high_l = zeros(9,2); DE_5_low_h = zeros(9,2); DE_5_high_h = zeros(9,2); DE_6_low_l = zeros(9,2); DE_6_high_l = zeros(9,2); DE_6_low_h = zeros(9,2); DE_6_high_h = zeros(9,2); DE_7_low_l = zeros(9,2); DE_7_high_l = zeros(9,2); DE_7_low_h = zeros(9,2); DE_7_high_h = zeros(9,2); GA_1_low_l = zeros(9,2); GA_1_high_l = zeros(9,2); GA_1_low_h = zeros(9,2); GA_1_high_h = zeros(9,2); GA_2_low_l = zeros(9,2); GA_2_high_l = zeros(9,2); GA_2_low_h = zeros(9,2); GA_2_high_h = zeros(9,2); GA_3_low_l = zeros(9,2); GA_3_high_l = zeros(9,2); GA_3_low_h = zeros(9,2); GA_3_high_h = zeros(9,2); GA_4_low_l = zeros(9,2); GA_4_high_l = zeros(9,2); GA_4_low_h = zeros(9,2); GA_4_high_h = zeros(9,2); GA_5_low_l = zeros(9,2); GA_5_high_l = zeros(9,2); GA_5_low_h = zeros(9,2); GA_5_high_h = zeros(9,2); GA_6_low_l = zeros(9,2); GA_6_high_l = zeros(9,2); GA_6_low_h = zeros(9,2); GA_6_high_h = zeros(9,2); GA_7_low_l = zeros(9,2); GA_7_high_l = zeros(9,2); GA_7_low_h = zeros(9,2); GA_7_high_h = zeros(9,2); HI_1_low_l = zeros(9,2); HI_1_high_l = zeros(9,2); HI_1_low_h = zeros(9,2); HI_1_high_h = zeros(9,2); HI_2_low_l = zeros(9,2); HI_2_high_l = zeros(9,2); HI_2_low_h = zeros(9,2); HI_2_high_h = zeros(9,2); HI_3_low_l = zeros(9,2); HI_3_high_l = zeros(9,2); HI_3_low_h = zeros(9,2); HI_3_high_h = zeros(9,2); HI_4_low_l = zeros(9,2); HI_4_high_l = zeros(9,2); HI_4_low_h = zeros(9,2); HI_4_high_h = zeros(9,2); HI_5_low_l = zeros(9,2); HI_5_high_l = zeros(9,2); HI_5_low_h = zeros(9,2); HI_5_high_h = zeros(9,2); HI_6_low_l = zeros(9,2); HI_6_high_l = zeros(9,2); HI_6_low_h = zeros(9,2); HI_6_high_h = zeros(9,2); HI_7_low_l = zeros(9,2); HI_7_high_l = zeros(9,2); HI_7_low_h = zeros(9,2); HI_7_high_h = zeros(9,2); IL_1_low_l = zeros(9,2); IL_1_high_l = zeros(9,2); IL_1_low_h = zeros(9,2); IL_1_high_h = zeros(9,2); IL_2_low_l = zeros(9,2); IL_2_high_l = zeros(9,2); IL_2_low_h = zeros(9,2); IL_2_high_h = zeros(9,2); IL_3_low_l = zeros(9,2); IL_3_high_l = zeros(9,2); IL_3_low_h = zeros(9,2); IL_3_high_h = zeros(9,2); IL_4_low_l = zeros(9,2); IL_4_high_l = zeros(9,2); IL_4_low_h = zeros(9,2); IL_4_high_h = zeros(9,2); IL_5_low_l = zeros(9,2); IL_5_high_l = zeros(9,2); IL_5_low_h = zeros(9,2); IL_5_high_h = zeros(9,2); IL_6_low_l = zeros(9,2); IL_6_high_l = zeros(9,2); IL_6_low_h = zeros(9,2); IL_6_high_h = zeros(9,2); IL_7_low_l = zeros(9,2); IL_7_high_l = zeros(9,2); IL_7_low_h = zeros(9,2); IL_7_high_h = zeros(9,2); IN_1_low_l = zeros(9,2); IN_1_high_l = zeros(9,2); IN_1_low_h = zeros(9,2); IN_1_high_h = zeros(9,2); IN_2_low_l = zeros(9,2); IN_2_high_l = zeros(9,2); IN_2_low_h = zeros(9,2); IN_2_high_h = zeros(9,2); IN_3_low_l = zeros(9,2); IN_3_high_l = zeros(9,2); IN_3_low_h = zeros(9,2); IN_3_high_h = zeros(9,2); IN_4_low_l = zeros(9,2); IN_4_high_l = zeros(9,2); IN_4_low_h = zeros(9,2); IN_4_high_h = zeros(9,2); IN_5_low_l = zeros(9,2); IN_5_high_l = zeros(9,2); IN_5_low_h = zeros(9,2); IN_5_high_h = zeros(9,2); IN_6_low_l = zeros(9,2); IN_6_high_l = zeros(9,2); IN_6_low_h = zeros(9,2); IN_6_high_h = zeros(9,2); IN_7_low_l = zeros(9,2); IN_7_high_l = zeros(9,2); IN_7_low_h = zeros(9,2); IN_7_high_h = zeros(9,2); LA_1_low_l = zeros(9,2); LA_1_high_l = zeros(9,2); LA_1_low_h = zeros(9,2); LA_1_high_h = zeros(9,2); LA_2_low_l = zeros(9,2); LA_2_high_l = zeros(9,2); LA_2_low_h = zeros(9,2); LA_2_high_h = zeros(9,2); LA_3_low_l = zeros(9,2); LA_3_high_l = zeros(9,2); LA_3_low_h = zeros(9,2); LA_3_high_h = zeros(9,2); LA_4_low_l = zeros(9,2); LA_4_high_l = zeros(9,2); LA_4_low_h = zeros(9,2); LA_4_high_h = zeros(9,2); LA_5_low_l = zeros(9,2); LA_5_high_l = zeros(9,2); LA_5_low_h = zeros(9,2); LA_5_high_h = zeros(9,2); LA_6_low_l = zeros(9,2); LA_6_high_l = zeros(9,2); LA_6_low_h = zeros(9,2); LA_6_high_h = zeros(9,2); LA_7_low_l = zeros(9,2); LA_7_high_l = zeros(9,2); LA_7_low_h = zeros(9,2); LA_7_high_h = zeros(9,2); ME_1_low_l = zeros(9,2); ME_1_high_l = zeros(9,2); ME_1_low_h = zeros(9,2); ME_1_high_h = zeros(9,2); ME_2_low_l = zeros(9,2); ME_2_high_l = zeros(9,2); ME_2_low_h = zeros(9,2); ME_2_high_h = zeros(9,2); ME_3_low_l = zeros(9,2); ME_3_high_l = zeros(9,2); ME_3_low_h = zeros(9,2); ME_3_high_h = zeros(9,2); ME_4_low_l = zeros(9,2); ME_4_high_l = zeros(9,2); ME_4_low_h = zeros(9,2); ME_4_high_h = zeros(9,2); ME_5_low_l = zeros(9,2); ME_5_high_l = zeros(9,2); ME_5_low_h = zeros(9,2); ME_5_high_h = zeros(9,2); ME_6_low_l = zeros(9,2); ME_6_high_l = zeros(9,2); ME_6_low_h = zeros(9,2); ME_6_high_h = zeros(9,2); ME_7_low_l = zeros(9,2); ME_7_high_l = zeros(9,2); ME_7_low_h = zeros(9,2); ME_7_high_h = zeros(9,2); MA_1_low_l = zeros(9,2); MA_1_high_l = zeros(9,2); MA_1_low_h = zeros(9,2); MA_1_high_h = zeros(9,2); MA_2_low_l = zeros(9,2); MA_2_high_l = zeros(9,2); MA_2_low_h = zeros(9,2); MA_2_high_h = zeros(9,2); MA_3_low_l = zeros(9,2); MA_3_high_l = zeros(9,2); MA_3_low_h = zeros(9,2); MA_3_high_h = zeros(9,2); MA_4_low_l = zeros(9,2); MA_4_high_l = zeros(9,2); MA_4_low_h = zeros(9,2); MA_4_high_h = zeros(9,2); MA_5_low_l = zeros(9,2); MA_5_high_l = zeros(9,2); MA_5_low_h = zeros(9,2); MA_5_high_h = zeros(9,2); MA_6_low_l = zeros(9,2); MA_6_high_l = zeros(9,2); MA_6_low_h = zeros(9,2); MA_6_high_h = zeros(9,2); MA_7_low_l = zeros(9,2); MA_7_high_l = zeros(9,2); MA_7_low_h = zeros(9,2); MA_7_high_h = zeros(9,2); MD_1_low_l = zeros(9,2); MD_1_high_l = zeros(9,2); MD_1_low_h = zeros(9,2); MD_1_high_h = zeros(9,2); MD_2_low_l = zeros(9,2); MD_2_high_l = zeros(9,2); MD_2_low_h = zeros(9,2); MD_2_high_h = zeros(9,2); MD_3_low_l = zeros(9,2); MD_3_high_l = zeros(9,2); MD_3_low_h = zeros(9,2); MD_3_high_h = zeros(9,2); MD_4_low_l = zeros(9,2); MD_4_high_l = zeros(9,2); MD_4_low_h = zeros(9,2); MD_4_high_h = zeros(9,2); MD_5_low_l = zeros(9,2); MD_5_high_l = zeros(9,2); MD_5_low_h = zeros(9,2); MD_5_high_h = zeros(9,2); MD_6_low_l = zeros(9,2); MD_6_high_l = zeros(9,2); MD_6_low_h = zeros(9,2); MD_6_high_h = zeros(9,2); MD_7_low_l = zeros(9,2); MD_7_high_l = zeros(9,2); MD_7_low_h = zeros(9,2); MD_7_high_h = zeros(9,2); MI_1_low_l = zeros(9,2); MI_1_high_l = zeros(9,2); MI_1_low_h = zeros(9,2); MI_1_high_h = zeros(9,2); MI_2_low_l = zeros(9,2); MI_2_high_l = zeros(9,2); MI_2_low_h = zeros(9,2); MI_2_high_h = zeros(9,2); MI_3_low_l = zeros(9,2); MI_3_high_l = zeros(9,2); MI_3_low_h = zeros(9,2); MI_3_high_h = zeros(9,2); MI_4_low_l = zeros(9,2); MI_4_high_l = zeros(9,2); MI_4_low_h = zeros(9,2); MI_4_high_h = zeros(9,2); MI_5_low_l = zeros(9,2); MI_5_high_l = zeros(9,2); MI_5_low_h = zeros(9,2); MI_5_high_h = zeros(9,2); MI_6_low_l = zeros(9,2); MI_6_high_l = zeros(9,2); MI_6_low_h = zeros(9,2); MI_6_high_h = zeros(9,2); MI_7_low_l = zeros(9,2); MI_7_high_l = zeros(9,2); MI_7_low_h = zeros(9,2); MI_7_high_h = zeros(9,2); MN_1_low_l = zeros(9,2); MN_1_high_l = zeros(9,2); MN_1_low_h = zeros(9,2); MN_1_high_h = zeros(9,2); MN_2_low_l = zeros(9,2); MN_2_high_l = zeros(9,2); MN_2_low_h = zeros(9,2); MN_2_high_h = zeros(9,2); MN_3_low_l = zeros(9,2); MN_3_high_l = zeros(9,2); MN_3_low_h = zeros(9,2); MN_3_high_h = zeros(9,2); MN_4_low_l = zeros(9,2); MN_4_high_l = zeros(9,2); MN_4_low_h = zeros(9,2); MN_4_high_h = zeros(9,2); MN_5_low_l = zeros(9,2); MN_5_high_l = zeros(9,2); MN_5_low_h = zeros(9,2); MN_5_high_h = zeros(9,2); MN_6_low_l = zeros(9,2); MN_6_high_l = zeros(9,2); MN_6_low_h = zeros(9,2); MN_6_high_h = zeros(9,2); MN_7_low_l = zeros(9,2); MN_7_high_l = zeros(9,2); MN_7_low_h = zeros(9,2); MN_7_high_h = zeros(9,2); NH_1_low_l = zeros(9,2); NH_1_high_l = zeros(9,2); NH_1_low_h = zeros(9,2); NH_1_high_h = zeros(9,2); NH_2_low_l = zeros(9,2); NH_2_high_l = zeros(9,2); NH_2_low_h = zeros(9,2); NH_2_high_h = zeros(9,2); NH_3_low_l = zeros(9,2); NH_3_high_l = zeros(9,2); NH_3_low_h = zeros(9,2); NH_3_high_h = zeros(9,2); NH_4_low_l = zeros(9,2); NH_4_high_l = zeros(9,2); NH_4_low_h = zeros(9,2); NH_4_high_h = zeros(9,2); NH_5_low_l = zeros(9,2); NH_5_high_l = zeros(9,2); NH_5_low_h = zeros(9,2); NH_5_high_h = zeros(9,2); NH_6_low_l = zeros(9,2); NH_6_high_l = zeros(9,2); NH_6_low_h = zeros(9,2); NH_6_high_h = zeros(9,2); NH_7_low_l = zeros(9,2); NH_7_high_l = zeros(9,2); NH_7_low_h = zeros(9,2); NH_7_high_h = zeros(9,2); NJ_1_low_l = zeros(9,2); NJ_1_high_l = zeros(9,2); NJ_1_low_h = zeros(9,2); NJ_1_high_h = zeros(9,2); NJ_2_low_l = zeros(9,2); NJ_2_high_l = zeros(9,2); NJ_2_low_h = zeros(9,2); NJ_2_high_h = zeros(9,2); NJ_3_low_l = zeros(9,2); NJ_3_high_l = zeros(9,2); NJ_3_low_h = zeros(9,2); NJ_3_high_h = zeros(9,2); NJ_4_low_l = zeros(9,2); NJ_4_high_l = zeros(9,2); NJ_4_low_h = zeros(9,2); NJ_4_high_h = zeros(9,2); NJ_5_low_l = zeros(9,2); NJ_5_high_l = zeros(9,2); NJ_5_low_h = zeros(9,2); NJ_5_high_h = zeros(9,2); NJ_6_low_l = zeros(9,2); NJ_6_high_l = zeros(9,2); NJ_6_low_h = zeros(9,2); NJ_6_high_h = zeros(9,2); NJ_7_low_l = zeros(9,2); NJ_7_high_l = zeros(9,2); NJ_7_low_h = zeros(9,2); NJ_7_high_h = zeros(9,2); NY_1_low_l = zeros(9,2); NY_1_high_l = zeros(9,2); NY_1_low_h = zeros(9,2); NY_1_high_h = zeros(9,2); NY_2_low_l = zeros(9,2); NY_2_high_l = zeros(9,2); NY_2_low_h = zeros(9,2); NY_2_high_h = zeros(9,2); NY_3_low_l = zeros(9,2); NY_3_high_l = zeros(9,2); NY_3_low_h = zeros(9,2); NY_3_high_h = zeros(9,2); NY_4_low_l = zeros(9,2); NY_4_high_l = zeros(9,2); NY_4_low_h = zeros(9,2); NY_4_high_h = zeros(9,2); NY_5_low_l = zeros(9,2); NY_5_high_l = zeros(9,2); NY_5_low_h = zeros(9,2); NY_5_high_h = zeros(9,2); NY_6_low_l = zeros(9,2); NY_6_high_l = zeros(9,2); NY_6_low_h = zeros(9,2); NY_6_high_h = zeros(9,2); NY_7_low_l = zeros(9,2); NY_7_high_l = zeros(9,2); NY_7_low_h = zeros(9,2); NY_7_high_h = zeros(9,2); NC_1_low_l = zeros(9,2); NC_1_high_l = zeros(9,2); NC_1_low_h = zeros(9,2); NC_1_high_h = zeros(9,2); NC_2_low_l = zeros(9,2); NC_2_high_l = zeros(9,2); NC_2_low_h = zeros(9,2); NC_2_high_h = zeros(9,2); NC_3_low_l = zeros(9,2); NC_3_high_l = zeros(9,2); NC_3_low_h = zeros(9,2); NC_3_high_h = zeros(9,2); NC_4_low_l = zeros(9,2); NC_4_high_l = zeros(9,2); NC_4_low_h = zeros(9,2); NC_4_high_h = zeros(9,2); NC_5_low_l = zeros(9,2); NC_5_high_l = zeros(9,2); NC_5_low_h = zeros(9,2); NC_5_high_h = zeros(9,2); NC_6_low_l = zeros(9,2); NC_6_high_l = zeros(9,2); NC_6_low_h = zeros(9,2); NC_6_high_h = zeros(9,2); NC_7_low_l = zeros(9,2); NC_7_high_l = zeros(9,2); NC_7_low_h = zeros(9,2); NC_7_high_h = zeros(9,2); OH_1_low_l = zeros(9,2); OH_1_high_l = zeros(9,2); OH_1_low_h = zeros(9,2); OH_1_high_h = zeros(9,2); OH_2_low_l = zeros(9,2); OH_2_high_l = zeros(9,2); OH_2_low_h = zeros(9,2); OH_2_high_h = zeros(9,2); OH_3_low_l = zeros(9,2); OH_3_high_l = zeros(9,2); OH_3_low_h = zeros(9,2); OH_3_high_h = zeros(9,2); OH_4_low_l = zeros(9,2); OH_4_high_l = zeros(9,2); OH_4_low_h = zeros(9,2); OH_4_high_h = zeros(9,2); OH_5_low_l = zeros(9,2); OH_5_high_l = zeros(9,2); OH_5_low_h = zeros(9,2); OH_5_high_h = zeros(9,2); OH_6_low_l = zeros(9,2); OH_6_high_l = zeros(9,2); OH_6_low_h = zeros(9,2); OH_6_high_h = zeros(9,2); OH_7_low_l = zeros(9,2); OH_7_high_l = zeros(9,2); OH_7_low_h = zeros(9,2); OH_7_high_h = zeros(9,2); OR_1_low_l = zeros(9,2); OR_1_high_l = zeros(9,2); OR_1_low_h = zeros(9,2); OR_1_high_h = zeros(9,2); OR_2_low_l = zeros(9,2); OR_2_high_l = zeros(9,2); OR_2_low_h = zeros(9,2); OR_2_high_h = zeros(9,2); OR_3_low_l = zeros(9,2); OR_3_high_l = zeros(9,2); OR_3_low_h = zeros(9,2); OR_3_high_h = zeros(9,2); OR_4_low_l = zeros(9,2); OR_4_high_l = zeros(9,2); OR_4_low_h = zeros(9,2); OR_4_high_h = zeros(9,2); OR_5_low_l = zeros(9,2); OR_5_high_l = zeros(9,2); OR_5_low_h = zeros(9,2); OR_5_high_h = zeros(9,2); OR_6_low_l = zeros(9,2); OR_6_high_l = zeros(9,2); OR_6_low_h = zeros(9,2); OR_6_high_h = zeros(9,2); OR_7_low_l = zeros(9,2); OR_7_high_l = zeros(9,2); OR_7_low_h = zeros(9,2); OR_7_high_h = zeros(9,2); PA_1_low_l = zeros(9,2); PA_1_high_l = zeros(9,2); PA_1_low_h = zeros(9,2); PA_1_high_h = zeros(9,2); PA_2_low_l = zeros(9,2); PA_2_high_l = zeros(9,2); PA_2_low_h = zeros(9,2); PA_2_high_h = zeros(9,2); PA_3_low_l = zeros(9,2); PA_3_high_l = zeros(9,2); PA_3_low_h = zeros(9,2); PA_3_high_h = zeros(9,2); PA_4_low_l = zeros(9,2); PA_4_high_l = zeros(9,2); PA_4_low_h = zeros(9,2); PA_4_high_h = zeros(9,2); PA_5_low_l = zeros(9,2); PA_5_high_l = zeros(9,2); PA_5_low_h = zeros(9,2); PA_5_high_h = zeros(9,2); PA_6_low_l = zeros(9,2); PA_6_high_l = zeros(9,2); PA_6_low_h = zeros(9,2); PA_6_high_h = zeros(9,2); PA_7_low_l = zeros(9,2); PA_7_high_l = zeros(9,2); PA_7_low_h = zeros(9,2); PA_7_high_h = zeros(9,2); RI_1_low_l = zeros(9,2); RI_1_high_l = zeros(9,2); RI_1_low_h = zeros(9,2); RI_1_high_h = zeros(9,2); RI_2_low_l = zeros(9,2); RI_2_high_l = zeros(9,2); RI_2_low_h = zeros(9,2); RI_2_high_h = zeros(9,2); RI_3_low_l = zeros(9,2); RI_3_high_l = zeros(9,2); RI_3_low_h = zeros(9,2); RI_3_high_h = zeros(9,2); RI_4_low_l = zeros(9,2); RI_4_high_l = zeros(9,2); RI_4_low_h = zeros(9,2); RI_4_high_h = zeros(9,2); RI_5_low_l = zeros(9,2); RI_5_high_l = zeros(9,2); RI_5_low_h = zeros(9,2); RI_5_high_h = zeros(9,2); RI_6_low_l = zeros(9,2); RI_6_high_l = zeros(9,2); RI_6_low_h = zeros(9,2); RI_6_high_h = zeros(9,2); RI_7_low_l = zeros(9,2); RI_7_high_l = zeros(9,2); RI_7_low_h = zeros(9,2); RI_7_high_h = zeros(9,2); SC_1_low_l = zeros(9,2); SC_1_high_l = zeros(9,2); SC_1_low_h = zeros(9,2); SC_1_high_h = zeros(9,2); SC_2_low_l = zeros(9,2); SC_2_high_l = zeros(9,2); SC_2_low_h = zeros(9,2); SC_2_high_h = zeros(9,2); SC_3_low_l = zeros(9,2); SC_3_high_l = zeros(9,2); SC_3_low_h = zeros(9,2); SC_3_high_h = zeros(9,2); SC_4_low_l = zeros(9,2); SC_4_high_l = zeros(9,2); SC_4_low_h = zeros(9,2); SC_4_high_h = zeros(9,2); SC_5_low_l = zeros(9,2); SC_5_high_l = zeros(9,2); SC_5_low_h = zeros(9,2); SC_5_high_h = zeros(9,2); SC_6_low_l = zeros(9,2); SC_6_high_l = zeros(9,2); SC_6_low_h = zeros(9,2); SC_6_high_h = zeros(9,2); SC_7_low_l = zeros(9,2); SC_7_high_l = zeros(9,2); SC_7_low_h = zeros(9,2); SC_7_high_h = zeros(9,2); TX_1_low_l = zeros(9,2); TX_1_high_l = zeros(9,2); TX_1_low_h = zeros(9,2); TX_1_high_h = zeros(9,2); TX_2_low_l = zeros(9,2); TX_2_high_l = zeros(9,2); TX_2_low_h = zeros(9,2); TX_2_high_h = zeros(9,2); TX_3_low_l = zeros(9,2); TX_3_high_l = zeros(9,2); TX_3_low_h = zeros(9,2); TX_3_high_h = zeros(9,2); TX_4_low_l = zeros(9,2); TX_4_high_l = zeros(9,2); TX_4_low_h = zeros(9,2); TX_4_high_h = zeros(9,2); TX_5_low_l = zeros(9,2); TX_5_high_l = zeros(9,2); TX_5_low_h = zeros(9,2); TX_5_high_h = zeros(9,2); TX_6_low_l = zeros(9,2); TX_6_high_l = zeros(9,2); TX_6_low_h = zeros(9,2); TX_6_high_h = zeros(9,2); TX_7_low_l = zeros(9,2); TX_7_high_l = zeros(9,2); TX_7_low_h = zeros(9,2); TX_7_high_h = zeros(9,2); VA_1_low_l = zeros(9,2); VA_1_high_l = zeros(9,2); VA_1_low_h = zeros(9,2); VA_1_high_h = zeros(9,2); VA_2_low_l = zeros(9,2); VA_2_high_l = zeros(9,2); VA_2_low_h = zeros(9,2); VA_2_high_h = zeros(9,2); VA_3_low_l = zeros(9,2); VA_3_high_l = zeros(9,2); VA_3_low_h = zeros(9,2); VA_3_high_h = zeros(9,2); VA_4_low_l = zeros(9,2); VA_4_high_l = zeros(9,2); VA_4_low_h = zeros(9,2); VA_4_high_h = zeros(9,2); VA_5_low_l = zeros(9,2); VA_5_high_l = zeros(9,2); VA_5_low_h = zeros(9,2); VA_5_high_h = zeros(9,2); VA_6_low_l = zeros(9,2); VA_6_high_l = zeros(9,2); VA_6_low_h = zeros(9,2); VA_6_high_h = zeros(9,2); VA_7_low_l = zeros(9,2); VA_7_high_l = zeros(9,2); VA_7_low_h = zeros(9,2); VA_7_high_h = zeros(9,2); WA_1_low_l = zeros(9,2); WA_1_high_l = zeros(9,2); WA_1_low_h = zeros(9,2); WA_1_high_h = zeros(9,2); WA_2_low_l = zeros(9,2); WA_2_high_l = zeros(9,2); WA_2_low_h = zeros(9,2); WA_2_high_h = zeros(9,2); WA_3_low_l = zeros(9,2); WA_3_high_l = zeros(9,2); WA_3_low_h = zeros(9,2); WA_3_high_h = zeros(9,2); WA_4_low_l = zeros(9,2); WA_4_high_l = zeros(9,2); WA_4_low_h = zeros(9,2); WA_4_high_h = zeros(9,2); WA_5_low_l = zeros(9,2); WA_5_high_l = zeros(9,2); WA_5_low_h = zeros(9,2); WA_5_high_h = zeros(9,2); WA_6_low_l = zeros(9,2); WA_6_high_l = zeros(9,2); WA_6_low_h = zeros(9,2); WA_6_high_h = zeros(9,2); WA_7_low_l = zeros(9,2); WA_7_high_l = zeros(9,2); WA_7_low_h = zeros(9,2); WA_7_high_h = zeros(9,2); WI_1_low_l = zeros(9,2); WI_1_high_l = zeros(9,2); WI_1_low_h = zeros(9,2); WI_1_high_h = zeros(9,2); WI_2_low_l = zeros(9,2); WI_2_high_l = zeros(9,2); WI_2_low_h = zeros(9,2); WI_2_high_h = zeros(9,2); WI_3_low_l = zeros(9,2); WI_3_high_l = zeros(9,2); WI_3_low_h = zeros(9,2); WI_3_high_h = zeros(9,2); WI_4_low_l = zeros(9,2); WI_4_high_l = zeros(9,2); WI_4_low_h = zeros(9,2); WI_4_high_h = zeros(9,2); WI_5_low_l = zeros(9,2); WI_5_high_l = zeros(9,2); WI_5_low_h = zeros(9,2); WI_5_high_h = zeros(9,2); WI_6_low_l = zeros(9,2); WI_6_high_l = zeros(9,2); WI_6_low_h = zeros(9,2); WI_6_high_h = zeros(9,2); WI_7_low_l = zeros(9,2); WI_7_high_l = zeros(9,2); WI_7_low_h = zeros(9,2); WI_7_high_h = zeros(9,2); for i = 1:size(CA,1)-1; CA_1_low_l(i,:) = [sum(CA_energy_low(i,1)) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_1_high_l(i,:) = [sum(CA_energy_high(i,1)) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_1_low_h(i,:) = [sum(CA_energy_low(i,1)) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_1_high_h(i,:) = [sum(CA_energy_high(i,1)) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_2_low_l(i,:) = [sum(CA_energy_low(i,2)) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_2_high_l(i,:) = [sum(CA_energy_high(i,2)) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_2_low_h(i,:) = [sum(CA_energy_low(i,2)) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_2_high_h(i,:) = [sum(CA_energy_high(i,2)) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_3_low_l(i,:) = [sum(CA_energy_low(i,3)) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_3_high_l(i,:) = [sum(CA_energy_high(i,3)) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_3_low_h(i,:) = [sum(CA_energy_low(i,3)) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_3_high_h(i,:) = [sum(CA_energy_high(i,3)) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_4_low_l(i,:) = [sum(CA_energy_low(i,4)) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_4_high_l(i,:) = [sum(CA_energy_high(i,4)) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_4_low_h(i,:) = [sum(CA_energy_low(i,4)) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_4_high_h(i,:) = [sum(CA_energy_high(i,4)) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_5_low_l(i,:) = [sum(CA_energy_low(i,5)) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_5_high_l(i,:) = [sum(CA_energy_high(i,5)) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_5_low_h(i,:) = [sum(CA_energy_low(i,5)) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_5_high_h(i,:) = [sum(CA_energy_high(i,5)) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_6_low_l(i,:) = [sum(CA_energy_low(i,6)) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_6_high_l(i,:) = [sum(CA_energy_high(i,6)) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_6_low_h(i,:) = [sum(CA_energy_low(i,6)) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_6_high_h(i,:) = [sum(CA_energy_high(i,6)) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_7_low_l(i,:) = [sum(CA_energy_low(i,7)) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_7_high_l(i,:) = [sum(CA_energy_high(i,7)) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CA_7_low_h(i,:) = [sum(CA_energy_low(i,7)) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CA_7_high_h(i,:) = [sum(CA_energy_high(i,7)) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_1_low_l(i,:) = [sum(CT_energy_low(i,1)) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_1_high_l(i,:) = [sum(CT_energy_high(i,1)) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_1_low_h(i,:) = [sum(CT_energy_low(i,1)) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_1_high_h(i,:) = [sum(CT_energy_high(i,1)) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_2_low_l(i,:) = [sum(CT_energy_low(i,2)) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_2_high_l(i,:) = [sum(CT_energy_high(i,2)) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_2_low_h(i,:) = [sum(CT_energy_low(i,2)) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_2_high_h(i,:) = [sum(CT_energy_high(i,2)) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_3_low_l(i,:) = [sum(CT_energy_low(i,3)) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_3_high_l(i,:) = [sum(CT_energy_high(i,3)) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_3_low_h(i,:) = [sum(CT_energy_low(i,3)) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_3_high_h(i,:) = [sum(CT_energy_high(i,3)) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_4_low_l(i,:) = [sum(CT_energy_low(i,4)) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_4_high_l(i,:) = [sum(CT_energy_high(i,4)) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_4_low_h(i,:) = [sum(CT_energy_low(i,4)) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_4_high_h(i,:) = [sum(CT_energy_high(i,4)) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_5_low_l(i,:) = [sum(CT_energy_low(i,5)) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_5_high_l(i,:) = [sum(CT_energy_high(i,5)) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_5_low_h(i,:) = [sum(CT_energy_low(i,5)) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_5_high_h(i,:) = [sum(CT_energy_high(i,5)) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_6_low_l(i,:) = [sum(CT_energy_low(i,6)) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_6_high_l(i,:) = [sum(CT_energy_high(i,6)) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_6_low_h(i,:) = [sum(CT_energy_low(i,6)) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_6_high_h(i,:) = [sum(CT_energy_high(i,6)) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_7_low_l(i,:) = [sum(CT_energy_low(i,7)) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_7_high_l(i,:) = [sum(CT_energy_high(i,7)) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; CT_7_low_h(i,:) = [sum(CT_energy_low(i,7)) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; CT_7_high_h(i,:) = [sum(CT_energy_high(i,7)) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_1_low_l(i,:) = [DE_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_1_high_l(i,:) = [DE_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_1_low_h(i,:) = [DE_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_1_high_h(i,:) = [DE_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_2_low_l(i,:) = [DE_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_2_high_l(i,:) = [DE_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_2_low_h(i,:) = [DE_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_2_high_h(i,:) = [DE_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_3_low_l(i,:) = [DE_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_3_high_l(i,:) = [DE_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_3_low_h(i,:) = [DE_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_3_high_h(i,:) = [DE_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_4_low_l(i,:) = [DE_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_4_high_l(i,:) = [DE_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_4_low_h(i,:) = [DE_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_4_high_h(i,:) = [DE_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_5_low_l(i,:) = [DE_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_5_high_l(i,:) = [DE_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_5_low_h(i,:) = [DE_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_5_high_h(i,:) = [DE_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_6_low_l(i,:) = [DE_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_6_high_l(i,:) = [DE_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_6_low_h(i,:) = [DE_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_6_high_h(i,:) = [DE_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_7_low_l(i,:) = [DE_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_7_high_l(i,:) = [DE_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; DE_7_low_h(i,:) = [DE_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; DE_7_high_h(i,:) = [DE_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_1_low_l(i,:) = [GA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_1_high_l(i,:) = [GA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_1_low_h(i,:) = [GA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_1_high_h(i,:) = [GA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_2_low_l(i,:) = [GA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_2_high_l(i,:) = [GA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_2_low_h(i,:) = [GA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_2_high_h(i,:) = [GA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_3_low_l(i,:) = [GA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_3_high_l(i,:) = [GA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_3_low_h(i,:) = [GA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_3_high_h(i,:) = [GA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_4_low_l(i,:) = [GA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_4_high_l(i,:) = [GA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_4_low_h(i,:) = [GA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_4_high_h(i,:) = [GA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_5_low_l(i,:) = [GA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_5_high_l(i,:) = [GA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_5_low_h(i,:) = [GA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_5_high_h(i,:) = [GA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_6_low_l(i,:) = [GA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_6_high_l(i,:) = [GA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_6_low_h(i,:) = [GA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_6_high_h(i,:) = [GA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_7_low_l(i,:) = [GA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_7_high_l(i,:) = [GA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; GA_7_low_h(i,:) = [GA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; GA_7_high_h(i,:) = [GA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_1_low_l(i,:) = [HI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_1_high_l(i,:) = [HI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_1_low_h(i,:) = [HI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_1_high_h(i,:) = [HI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_2_low_l(i,:) = [HI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_2_high_l(i,:) = [HI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_2_low_h(i,:) = [HI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_2_high_h(i,:) = [HI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_3_low_l(i,:) = [HI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_3_high_l(i,:) = [HI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_3_low_h(i,:) = [HI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_3_high_h(i,:) = [HI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_4_low_l(i,:) = [HI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_4_high_l(i,:) = [HI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_4_low_h(i,:) = [HI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_4_high_h(i,:) = [HI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_5_low_l(i,:) = [HI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_5_high_l(i,:) = [HI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_5_low_h(i,:) = [HI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_5_high_h(i,:) = [HI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_6_low_l(i,:) = [HI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_6_high_l(i,:) = [HI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_6_low_h(i,:) = [HI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_6_high_h(i,:) = [HI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_7_low_l(i,:) = [HI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_7_high_l(i,:) = [HI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; HI_7_low_h(i,:) = [HI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; HI_7_high_h(i,:) = [HI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_1_low_l(i,:) = [IL_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_1_high_l(i,:) = [IL_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_1_low_h(i,:) = [IL_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_1_high_h(i,:) = [IL_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_2_low_l(i,:) = [IL_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_2_high_l(i,:) = [IL_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_2_low_h(i,:) = [IL_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_2_high_h(i,:) = [IL_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_3_low_l(i,:) = [IL_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_3_high_l(i,:) = [IL_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_3_low_h(i,:) = [IL_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_3_high_h(i,:) = [IL_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_4_low_l(i,:) = [IL_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_4_high_l(i,:) = [IL_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_4_low_h(i,:) = [IL_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_4_high_h(i,:) = [IL_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_5_low_l(i,:) = [IL_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_5_high_l(i,:) = [IL_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_5_low_h(i,:) = [IL_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_5_high_h(i,:) = [IL_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_6_low_l(i,:) = [IL_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_6_high_l(i,:) = [IL_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_6_low_h(i,:) = [IL_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_6_high_h(i,:) = [IL_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_7_low_l(i,:) = [IL_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_7_high_l(i,:) = [IL_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IL_7_low_h(i,:) = [IL_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IL_7_high_h(i,:) = [IL_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_1_low_l(i,:) = [IN_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_1_high_l(i,:) = [IN_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_1_low_h(i,:) = [IN_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_1_high_h(i,:) = [IN_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_2_low_l(i,:) = [IN_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_2_high_l(i,:) = [IN_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_2_low_h(i,:) = [IN_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_2_high_h(i,:) = [IN_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_3_low_l(i,:) = [IN_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_3_high_l(i,:) = [IN_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_3_low_h(i,:) = [IN_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_3_high_h(i,:) = [IN_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_4_low_l(i,:) = [IN_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_4_high_l(i,:) = [IN_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_4_low_h(i,:) = [IN_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_4_high_h(i,:) = [IN_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_5_low_l(i,:) = [IN_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_5_high_l(i,:) = [IN_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_5_low_h(i,:) = [IN_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_5_high_h(i,:) = [IN_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_6_low_l(i,:) = [IN_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_6_high_l(i,:) = [IN_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_6_low_h(i,:) = [IN_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_6_high_h(i,:) = [IN_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_7_low_l(i,:) = [IN_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_7_high_l(i,:) = [IN_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; IN_7_low_h(i,:) = [IN_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; IN_7_high_h(i,:) = [IN_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_1_low_l(i,:) = [LA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_1_high_l(i,:) = [LA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_1_low_h(i,:) = [LA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_1_high_h(i,:) = [LA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_2_low_l(i,:) = [LA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_2_high_l(i,:) = [LA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_2_low_h(i,:) = [LA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_2_high_h(i,:) = [LA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_3_low_l(i,:) = [LA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_3_high_l(i,:) = [LA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_3_low_h(i,:) = [LA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_3_high_h(i,:) = [LA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_4_low_l(i,:) = [LA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_4_high_l(i,:) = [LA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_4_low_h(i,:) = [LA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_4_high_h(i,:) = [LA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_5_low_l(i,:) = [LA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_5_high_l(i,:) = [LA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_5_low_h(i,:) = [LA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_5_high_h(i,:) = [LA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_6_low_l(i,:) = [LA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_6_high_l(i,:) = [LA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_6_low_h(i,:) = [LA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_6_high_h(i,:) = [LA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_7_low_l(i,:) = [LA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_7_high_l(i,:) = [LA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; LA_7_low_h(i,:) = [LA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; LA_7_high_h(i,:) = [LA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_1_low_l(i,:) = [ME_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_1_high_l(i,:) = [ME_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_1_low_h(i,:) = [ME_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_1_high_h(i,:) = [ME_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_2_low_l(i,:) = [ME_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_2_high_l(i,:) = [ME_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_2_low_h(i,:) = [ME_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_2_high_h(i,:) = [ME_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_3_low_l(i,:) = [ME_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_3_high_l(i,:) = [ME_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_3_low_h(i,:) = [ME_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_3_high_h(i,:) = [ME_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_4_low_l(i,:) = [ME_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_4_high_l(i,:) = [ME_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_4_low_h(i,:) = [ME_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_4_high_h(i,:) = [ME_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_5_low_l(i,:) = [ME_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_5_high_l(i,:) = [ME_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_5_low_h(i,:) = [ME_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_5_high_h(i,:) = [ME_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_6_low_l(i,:) = [ME_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_6_high_l(i,:) = [ME_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_6_low_h(i,:) = [ME_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_6_high_h(i,:) = [ME_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_7_low_l(i,:) = [ME_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_7_high_l(i,:) = [ME_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; ME_7_low_h(i,:) = [ME_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; ME_7_high_h(i,:) = [ME_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_1_low_l(i,:) = [MA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_1_high_l(i,:) = [MA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_1_low_h(i,:) = [MA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_1_high_h(i,:) = [MA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_2_low_l(i,:) = [MA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_2_high_l(i,:) = [MA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_2_low_h(i,:) = [MA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_2_high_h(i,:) = [MA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_3_low_l(i,:) = [MA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_3_high_l(i,:) = [MA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_3_low_h(i,:) = [MA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_3_high_h(i,:) = [MA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_4_low_l(i,:) = [MA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_4_high_l(i,:) = [MA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_4_low_h(i,:) = [MA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_4_high_h(i,:) = [MA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_5_low_l(i,:) = [MA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_5_high_l(i,:) = [MA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_5_low_h(i,:) = [MA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_5_high_h(i,:) = [MA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_6_low_l(i,:) = [MA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_6_high_l(i,:) = [MA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_6_low_h(i,:) = [MA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_6_high_h(i,:) = [MA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_7_low_l(i,:) = [MA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_7_high_l(i,:) = [MA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MA_7_low_h(i,:) = [MA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MA_7_high_h(i,:) = [MA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_1_low_l(i,:) = [MD_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_1_high_l(i,:) = [MD_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_1_low_h(i,:) = [MD_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_1_high_h(i,:) = [MD_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_2_low_l(i,:) = [MD_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_2_high_l(i,:) = [MD_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_2_low_h(i,:) = [MD_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_2_high_h(i,:) = [MD_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_3_low_l(i,:) = [MD_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_3_high_l(i,:) = [MD_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_3_low_h(i,:) = [MD_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_3_high_h(i,:) = [MD_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_4_low_l(i,:) = [MD_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_4_high_l(i,:) = [MD_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_4_low_h(i,:) = [MD_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_4_high_h(i,:) = [MD_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_5_low_l(i,:) = [MD_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_5_high_l(i,:) = [MD_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_5_low_h(i,:) = [MD_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_5_high_h(i,:) = [MD_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_6_low_l(i,:) = [MD_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_6_high_l(i,:) = [MD_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_6_low_h(i,:) = [MD_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_6_high_h(i,:) = [MD_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_7_low_l(i,:) = [MD_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_7_high_l(i,:) = [MD_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MD_7_low_h(i,:) = [MD_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MD_7_high_h(i,:) = [MD_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_1_low_l(i,:) = [MI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_1_high_l(i,:) = [MI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_1_low_h(i,:) = [MI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_1_high_h(i,:) = [MI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_2_low_l(i,:) = [MI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_2_high_l(i,:) = [MI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_2_low_h(i,:) = [MI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_2_high_h(i,:) = [MI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_3_low_l(i,:) = [MI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_3_high_l(i,:) = [MI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_3_low_h(i,:) = [MI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_3_high_h(i,:) = [MI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_4_low_l(i,:) = [MI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_4_high_l(i,:) = [MI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_4_low_h(i,:) = [MI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_4_high_h(i,:) = [MI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_5_low_l(i,:) = [MI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_5_high_l(i,:) = [MI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_5_low_h(i,:) = [MI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_5_high_h(i,:) = [MI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_6_low_l(i,:) = [MI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_6_high_l(i,:) = [MI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_6_low_h(i,:) = [MI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_6_high_h(i,:) = [MI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_7_low_l(i,:) = [MI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_7_high_l(i,:) = [MI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MI_7_low_h(i,:) = [MI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MI_7_high_h(i,:) = [MI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_1_low_l(i,:) = [MN_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_1_high_l(i,:) = [MN_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_1_low_h(i,:) = [MN_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_1_high_h(i,:) = [MN_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_2_low_l(i,:) = [MN_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_2_high_l(i,:) = [MN_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_2_low_h(i,:) = [MN_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_2_high_h(i,:) = [MN_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_3_low_l(i,:) = [MN_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_3_high_l(i,:) = [MN_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_3_low_h(i,:) = [MN_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_3_high_h(i,:) = [MN_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_4_low_l(i,:) = [MN_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_4_high_l(i,:) = [MN_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_4_low_h(i,:) = [MN_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_4_high_h(i,:) = [MN_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_5_low_l(i,:) = [MN_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_5_high_l(i,:) = [MN_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_5_low_h(i,:) = [MN_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_5_high_h(i,:) = [MN_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_6_low_l(i,:) = [MN_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_6_high_l(i,:) = [MN_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_6_low_h(i,:) = [MN_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_6_high_h(i,:) = [MN_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_7_low_l(i,:) = [MN_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_7_high_l(i,:) = [MN_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; MN_7_low_h(i,:) = [MN_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; MN_7_high_h(i,:) = [MN_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_1_low_l(i,:) = [NH_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_1_high_l(i,:) = [NH_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_1_low_h(i,:) = [NH_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_1_high_h(i,:) = [NH_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_2_low_l(i,:) = [NH_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_2_high_l(i,:) = [NH_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_2_low_h(i,:) = [NH_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_2_high_h(i,:) = [NH_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_3_low_l(i,:) = [NH_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_3_high_l(i,:) = [NH_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_3_low_h(i,:) = [NH_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_3_high_h(i,:) = [NH_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_4_low_l(i,:) = [NH_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_4_high_l(i,:) = [NH_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_4_low_h(i,:) = [NH_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_4_high_h(i,:) = [NH_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_5_low_l(i,:) = [NH_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_5_high_l(i,:) = [NH_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_5_low_h(i,:) = [NH_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_5_high_h(i,:) = [NH_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_6_low_l(i,:) = [NH_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_6_high_l(i,:) = [NH_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_6_low_h(i,:) = [NH_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_6_high_h(i,:) = [NH_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_7_low_l(i,:) = [NH_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_7_high_l(i,:) = [NH_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NH_7_low_h(i,:) = [NH_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NH_7_high_h(i,:) = [NH_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_1_low_l(i,:) = [NJ_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_1_high_l(i,:) = [NJ_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_1_low_h(i,:) = [NJ_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_1_high_h(i,:) = [NJ_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_2_low_l(i,:) = [NJ_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_2_high_l(i,:) = [NJ_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_2_low_h(i,:) = [NJ_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_2_high_h(i,:) = [NJ_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_3_low_l(i,:) = [NJ_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_3_high_l(i,:) = [NJ_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_3_low_h(i,:) = [NJ_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_3_high_h(i,:) = [NJ_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_4_low_l(i,:) = [NJ_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_4_high_l(i,:) = [NJ_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_4_low_h(i,:) = [NJ_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_4_high_h(i,:) = [NJ_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_5_low_l(i,:) = [NJ_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_5_high_l(i,:) = [NJ_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_5_low_h(i,:) = [NJ_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_5_high_h(i,:) = [NJ_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_6_low_l(i,:) = [NJ_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_6_high_l(i,:) = [NJ_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_6_low_h(i,:) = [NJ_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_6_high_h(i,:) = [NJ_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_7_low_l(i,:) = [NJ_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_7_high_l(i,:) = [NJ_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NJ_7_low_h(i,:) = [NJ_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NJ_7_high_h(i,:) = [NJ_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_1_low_l(i,:) = [NY_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_1_high_l(i,:) = [NY_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_1_low_h(i,:) = [NY_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_1_high_h(i,:) = [NY_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_2_low_l(i,:) = [NY_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_2_high_l(i,:) = [NY_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_2_low_h(i,:) = [NY_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_2_high_h(i,:) = [NY_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_3_low_l(i,:) = [NY_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_3_high_l(i,:) = [NY_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_3_low_h(i,:) = [NY_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_3_high_h(i,:) = [NY_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_4_low_l(i,:) = [NY_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_4_high_l(i,:) = [NY_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_4_low_h(i,:) = [NY_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_4_high_h(i,:) = [NY_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_5_low_l(i,:) = [NY_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_5_high_l(i,:) = [NY_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_5_low_h(i,:) = [NY_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_5_high_h(i,:) = [NY_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_6_low_l(i,:) = [NY_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_6_high_l(i,:) = [NY_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_6_low_h(i,:) = [NY_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_6_high_h(i,:) = [NY_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_7_low_l(i,:) = [NY_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_7_high_l(i,:) = [NY_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NY_7_low_h(i,:) = [NY_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NY_7_high_h(i,:) = [NY_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_1_low_l(i,:) = [NC_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_1_high_l(i,:) = [NC_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_1_low_h(i,:) = [NC_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_1_high_h(i,:) = [NC_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_2_low_l(i,:) = [NC_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_2_high_l(i,:) = [NC_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_2_low_h(i,:) = [NC_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_2_high_h(i,:) = [NC_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_3_low_l(i,:) = [NC_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_3_high_l(i,:) = [NC_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_3_low_h(i,:) = [NC_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_3_high_h(i,:) = [NC_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_4_low_l(i,:) = [NC_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_4_high_l(i,:) = [NC_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_4_low_h(i,:) = [NC_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_4_high_h(i,:) = [NC_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_5_low_l(i,:) = [NC_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_5_high_l(i,:) = [NC_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_5_low_h(i,:) = [NC_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_5_high_h(i,:) = [NC_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_6_low_l(i,:) = [NC_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_6_high_l(i,:) = [NC_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_6_low_h(i,:) = [NC_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_6_high_h(i,:) = [NC_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_7_low_l(i,:) = [NC_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_7_high_l(i,:) = [NC_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; NC_7_low_h(i,:) = [NC_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; NC_7_high_h(i,:) = [NC_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_1_low_l(i,:) = [OH_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_1_high_l(i,:) = [OH_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_1_low_h(i,:) = [OH_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_1_high_h(i,:) = [OH_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_2_low_l(i,:) = [OH_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_2_high_l(i,:) = [OH_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_2_low_h(i,:) = [OH_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_2_high_h(i,:) = [OH_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_3_low_l(i,:) = [OH_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_3_high_l(i,:) = [OH_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_3_low_h(i,:) = [OH_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_3_high_h(i,:) = [OH_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_4_low_l(i,:) = [OH_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_4_high_l(i,:) = [OH_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_4_low_h(i,:) = [OH_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_4_high_h(i,:) = [OH_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_5_low_l(i,:) = [OH_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_5_high_l(i,:) = [OH_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_5_low_h(i,:) = [OH_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_5_high_h(i,:) = [OH_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_6_low_l(i,:) = [OH_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_6_high_l(i,:) = [OH_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_6_low_h(i,:) = [OH_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_6_high_h(i,:) = [OH_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_7_low_l(i,:) = [OH_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_7_high_l(i,:) = [OH_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OH_7_low_h(i,:) = [OH_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OH_7_high_h(i,:) = [OH_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_1_low_l(i,:) = [OR_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_1_high_l(i,:) = [OR_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_1_low_h(i,:) = [OR_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_1_high_h(i,:) = [OR_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_2_low_l(i,:) = [OR_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_2_high_l(i,:) = [OR_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_2_low_h(i,:) = [OR_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_2_high_h(i,:) = [OR_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_3_low_l(i,:) = [OR_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_3_high_l(i,:) = [OR_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_3_low_h(i,:) = [OR_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_3_high_h(i,:) = [OR_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_4_low_l(i,:) = [OR_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_4_high_l(i,:) = [OR_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_4_low_h(i,:) = [OR_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_4_high_h(i,:) = [OR_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_5_low_l(i,:) = [OR_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_5_high_l(i,:) = [OR_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_5_low_h(i,:) = [OR_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_5_high_h(i,:) = [OR_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_6_low_l(i,:) = [OR_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_6_high_l(i,:) = [OR_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_6_low_h(i,:) = [OR_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_6_high_h(i,:) = [OR_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_7_low_l(i,:) = [OR_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_7_high_l(i,:) = [OR_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; OR_7_low_h(i,:) = [OR_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; OR_7_high_h(i,:) = [OR_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_1_low_l(i,:) = [PA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_1_high_l(i,:) = [PA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_1_low_h(i,:) = [PA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_1_high_h(i,:) = [PA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_2_low_l(i,:) = [PA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_2_high_l(i,:) = [PA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_2_low_h(i,:) = [PA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_2_high_h(i,:) = [PA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_3_low_l(i,:) = [PA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_3_high_l(i,:) = [PA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_3_low_h(i,:) = [PA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_3_high_h(i,:) = [PA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_4_low_l(i,:) = [PA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_4_high_l(i,:) = [PA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_4_low_h(i,:) = [PA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_4_high_h(i,:) = [PA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_5_low_l(i,:) = [PA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_5_high_l(i,:) = [PA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_5_low_h(i,:) = [PA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_5_high_h(i,:) = [PA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_6_low_l(i,:) = [PA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_6_high_l(i,:) = [PA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_6_low_h(i,:) = [PA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_6_high_h(i,:) = [PA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_7_low_l(i,:) = [PA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_7_high_l(i,:) = [PA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; PA_7_low_h(i,:) = [PA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; PA_7_high_h(i,:) = [PA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_1_low_l(i,:) = [RI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_1_high_l(i,:) = [RI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_1_low_h(i,:) = [RI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_1_high_h(i,:) = [RI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_2_low_l(i,:) = [RI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_2_high_l(i,:) = [RI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_2_low_h(i,:) = [RI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_2_high_h(i,:) = [RI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_3_low_l(i,:) = [RI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_3_high_l(i,:) = [RI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_3_low_h(i,:) = [RI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_3_high_h(i,:) = [RI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_4_low_l(i,:) = [RI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_4_high_l(i,:) = [RI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_4_low_h(i,:) = [RI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_4_high_h(i,:) = [RI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_5_low_l(i,:) = [RI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_5_high_l(i,:) = [RI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_5_low_h(i,:) = [RI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_5_high_h(i,:) = [RI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_6_low_l(i,:) = [RI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_6_high_l(i,:) = [RI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_6_low_h(i,:) = [RI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_6_high_h(i,:) = [RI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_7_low_l(i,:) = [RI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_7_high_l(i,:) = [RI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; RI_7_low_h(i,:) = [RI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; RI_7_high_h(i,:) = [RI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_1_low_l(i,:) = [SC_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_1_high_l(i,:) = [SC_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_1_low_h(i,:) = [SC_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_1_high_h(i,:) = [SC_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_2_low_l(i,:) = [SC_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_2_high_l(i,:) = [SC_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_2_low_h(i,:) = [SC_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_2_high_h(i,:) = [SC_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_3_low_l(i,:) = [SC_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_3_high_l(i,:) = [SC_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_3_low_h(i,:) = [SC_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_3_high_h(i,:) = [SC_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_4_low_l(i,:) = [SC_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_4_high_l(i,:) = [SC_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_4_low_h(i,:) = [SC_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_4_high_h(i,:) = [SC_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_5_low_l(i,:) = [SC_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_5_high_l(i,:) = [SC_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_5_low_h(i,:) = [SC_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_5_high_h(i,:) = [SC_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_6_low_l(i,:) = [SC_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_6_high_l(i,:) = [SC_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_6_low_h(i,:) = [SC_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_6_high_h(i,:) = [SC_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_7_low_l(i,:) = [SC_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_7_high_l(i,:) = [SC_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; SC_7_low_h(i,:) = [SC_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; SC_7_high_h(i,:) = [SC_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; TX_1_low_l(i,:) = [TX_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_1_high_l(i,:) = [TX_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_1_low_h(i,:) = [TX_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_1_high_h(i,:) = [TX_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_2_low_l(i,:) = [TX_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_2_high_l(i,:) = [TX_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_2_low_h(i,:) = [TX_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_2_high_h(i,:) = [TX_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_3_low_l(i,:) = [TX_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_3_high_l(i,:) = [TX_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_3_low_h(i,:) = [TX_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_3_high_h(i,:) = [TX_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_4_low_l(i,:) = [TX_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_4_high_l(i,:) = [TX_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_4_low_h(i,:) = [TX_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_4_high_h(i,:) = [TX_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_5_low_l(i,:) = [TX_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_5_high_l(i,:) = [TX_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_5_low_h(i,:) = [TX_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_5_high_h(i,:) = [TX_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_6_low_l(i,:) = [TX_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_6_high_l(i,:) = [TX_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_6_low_h(i,:) = [TX_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_6_high_h(i,:) = [TX_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_7_low_l(i,:) = [TX_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_7_high_l(i,:) = [TX_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == tx_low(2,i)),find(depth == tx_low(1,i)))]; TX_7_low_h(i,:) = [TX_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; TX_7_high_h(i,:) = [TX_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == tx_high(2,i)),find(depth == tx_high(1,i)))]; VA_1_low_l(i,:) = [VA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_1_high_l(i,:) = [VA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_1_low_h(i,:) = [VA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_1_high_h(i,:) = [VA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_2_low_l(i,:) = [VA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_2_high_l(i,:) = [VA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_2_low_h(i,:) = [VA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_2_high_h(i,:) = [VA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_3_low_l(i,:) = [VA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_3_high_l(i,:) = [VA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_3_low_h(i,:) = [VA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_3_high_h(i,:) = [VA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_4_low_l(i,:) = [VA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_4_high_l(i,:) = [VA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_4_low_h(i,:) = [VA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_4_high_h(i,:) = [VA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_5_low_l(i,:) = [VA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_5_high_l(i,:) = [VA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_5_low_h(i,:) = [VA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_5_high_h(i,:) = [VA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_6_low_l(i,:) = [VA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_6_high_l(i,:) = [VA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_6_low_h(i,:) = [VA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_6_high_h(i,:) = [VA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_7_low_l(i,:) = [VA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_7_high_l(i,:) = [VA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; VA_7_low_h(i,:) = [VA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; VA_7_high_h(i,:) = [VA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_1_low_l(i,:) = [WA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_1_high_l(i,:) = [WA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_1_low_h(i,:) = [WA_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_1_high_h(i,:) = [WA_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_2_low_l(i,:) = [WA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_2_high_l(i,:) = [WA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_2_low_h(i,:) = [WA_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_2_high_h(i,:) = [WA_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_3_low_l(i,:) = [WA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_3_high_l(i,:) = [WA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_3_low_h(i,:) = [WA_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_3_high_h(i,:) = [WA_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_4_low_l(i,:) = [WA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_4_high_l(i,:) = [WA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_4_low_h(i,:) = [WA_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_4_high_h(i,:) = [WA_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_5_low_l(i,:) = [WA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_5_high_l(i,:) = [WA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_5_low_h(i,:) = [WA_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_5_high_h(i,:) = [WA_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_6_low_l(i,:) = [WA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_6_high_l(i,:) = [WA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_6_low_h(i,:) = [WA_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_6_high_h(i,:) = [WA_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_7_low_l(i,:) = [WA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_7_high_l(i,:) = [WA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WA_7_low_h(i,:) = [WA_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WA_7_high_h(i,:) = [WA_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_1_low_l(i,:) = [WI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_1_high_l(i,:) = [WI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_1_low_h(i,:) = [WI_energy_low(i,1) lcoe_owe1_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_1_high_h(i,:) = [WI_energy_high(i,1) lcoe_owe1_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_2_low_l(i,:) = [WI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_2_high_l(i,:) = [WI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_2_low_h(i,:) = [WI_energy_low(i,2) lcoe_owe2_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_2_high_h(i,:) = [WI_energy_high(i,2) lcoe_owe2_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_3_low_l(i,:) = [WI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_3_high_l(i,:) = [WI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_3_low_h(i,:) = [WI_energy_low(i,3) lcoe_owe3_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_3_high_h(i,:) = [WI_energy_high(i,3) lcoe_owe3_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_4_low_l(i,:) = [WI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_4_high_l(i,:) = [WI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_4_low_h(i,:) = [WI_energy_low(i,4) lcoe_owe4_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_4_high_h(i,:) = [WI_energy_high(i,4) lcoe_owe4_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_5_low_l(i,:) = [WI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_5_high_l(i,:) = [WI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_5_low_h(i,:) = [WI_energy_low(i,5) lcoe_owe5_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_5_high_h(i,:) = [WI_energy_high(i,5) lcoe_owe5_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_6_low_l(i,:) = [WI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_6_high_l(i,:) = [WI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_6_low_h(i,:) = [WI_energy_low(i,6) lcoe_owe6_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_6_high_h(i,:) = [WI_energy_high(i,6) lcoe_owe6_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_7_low_l(i,:) = [WI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_7_high_l(i,:) = [WI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_low(2,i)),find(depth == usa_low(1,i)))]; WI_7_low_h(i,:) = [WI_energy_low(i,7) lcoe_owe7_high_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; WI_7_high_h(i,:) = [WI_energy_high(i,7) lcoe_owe7_low_gcam(find(distance == usa_high(2,i)),find(depth == usa_high(1,i)))]; end Africa_Eastern_energy_low = zeros(size(Africa_Eastern)); Africa_Eastern_energy_high = zeros(size(Africa_Eastern)); Africa_Northern_energy_low = zeros(size(Africa_Northern)); Africa_Northern_energy_high = zeros(size(Africa_Northern)); Africa_Southern_energy_low = zeros(size(Africa_Southern)); Africa_Southern_energy_high = zeros(size(Africa_Southern)); Africa_Western_energy_low = zeros(size(Africa_Western)); Africa_Western_energy_high = zeros(size(Africa_Western)); Australia_NZ_energy_low = zeros(size(Australia_NZ)); Australia_NZ_energy_high = zeros(size(Australia_NZ)); Brazil_energy_low = zeros(size(Brazil)); Brazil_energy_high = zeros(size(Brazil)); Canada_energy_low = zeros(size(Canada)); Canada_energy_high = zeros(size(Canada)); Central_America_and_Caribbean_energy_low = zeros(size(Central_America_and_Caribbean)); Central_America_and_Caribbean_energy_high = zeros(size(Central_America_and_Caribbean)); Central_Asia_energy_low = zeros(size(Central_Asia)); Central_Asia_energy_high = zeros(size(Central_Asia)); China_energy_low = zeros(size(China)); China_energy_high = zeros(size(China)); EU_12_energy_low = zeros(size(EU_12)); EU_12_energy_high = zeros(size(EU_12)); EU_15_energy_low = zeros(size(EU_15)); EU_15_energy_high = zeros(size(EU_15)); Europe_Eastern_energy_low = zeros(size(Europe_Eastern)); Europe_Eastern_energy_high = zeros(size(Europe_Eastern)); Europe_Non_EU_energy_low = zeros(size(Europe_Non_EU)); Europe_Non_EU_energy_high = zeros(size(Europe_Non_EU)); European_Free_Trade_Association_energy_low = zeros(size(European_Free_Trade_Association)); European_Free_Trade_Association_energy_high = zeros(size(European_Free_Trade_Association)); India_energy_low = zeros(size(India)); India_energy_high = zeros(size(India)); Indonesia_energy_low = zeros(size(Indonesia)); Indonesia_energy_high = zeros(size(Indonesia)); Japan_energy_low = zeros(size(Japan)); Japan_energy_high = zeros(size(Japan)); Mexico_energy_low = zeros(size(Mexico)); Mexico_energy_high = zeros(size(Mexico)); Middle_East_energy_low = zeros(size(Middle_East)); Middle_East_energy_high = zeros(size(Middle_East)); Pakistan_energy_low = zeros(size(Pakistan)); Pakistan_energy_high = zeros(size(Pakistan)); Russia_energy_low = zeros(size(Russia)); Russia_energy_high = zeros(size(Russia)); South_Africa_energy_low = zeros(size(South_Africa)); South_Africa_energy_high = zeros(size(South_Africa)); South_America_Northern_energy_low = zeros(size(South_America_Northern)); South_America_Northern_energy_high = zeros(size(South_America_Northern)); South_America_Southern_energy_low = zeros(size(South_America_Southern)); South_America_Southern_energy_high = zeros(size(South_America_Southern)); South_Asia_energy_low = zeros(size(South_Asia)); South_Asia_energy_high = zeros(size(South_Asia)); South_Korea_energy_low = zeros(size(South_Korea)); South_Korea_energy_high = zeros(size(South_Korea)); Southeast_Asia_energy_low = zeros(size(Southeast_Asia)); Southeast_Asia_energy_high = zeros(size(Southeast_Asia)); Taiwan_energy_low = zeros(size(Taiwan)); Taiwan_energy_high = zeros(size(Taiwan)); Argentina_energy_low = zeros(size(Argentina)); Argentina_energy_high = zeros(size(Argentina)); Columbia_energy_low = zeros(size(Columbia)); Columbia_energy_high = zeros(size(Columbia)); for i = 4:size(Africa_Eastern,2); Africa_Eastern_energy_low(:,i) = Africa_Eastern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Africa_Eastern_energy_high(:,i) = Africa_Eastern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Africa_Northern_energy_low(:,i) = Africa_Northern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Africa_Northern_energy_high(:,i) = Africa_Northern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Africa_Southern_energy_low(:,i) = Africa_Southern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Africa_Southern_energy_high(:,i) = Africa_Southern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Africa_Western_energy_low(:,i) = Africa_Western(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Africa_Western_energy_high(:,i) = Africa_Western(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Australia_NZ_energy_low(:,i) = Australia_NZ(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Australia_NZ_energy_high(:,i) = Australia_NZ(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Brazil_energy_low(:,i) = Brazil(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Brazil_energy_high(:,i) = Brazil(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Canada_energy_low(:,i) = Canada(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Canada_energy_high(:,i) = Canada(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Central_America_and_Caribbean_energy_low(:,i) = Central_America_and_Caribbean(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Central_America_and_Caribbean_energy_high(:,i) = Central_America_and_Caribbean(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Central_Asia_energy_low(:,i) = Central_Asia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Central_Asia_energy_high(:,i) = Central_Asia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); China_energy_low(:,i) = China(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); China_energy_high(:,i) = China(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); EU_12_energy_low(:,i) = EU_12(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); EU_12_energy_high(:,i) = EU_12(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); EU_15_energy_low(:,i) = EU_15(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); EU_15_energy_high(:,i) = EU_15(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Europe_Eastern_energy_low(:,i) = Europe_Eastern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Europe_Eastern_energy_high(:,i) = Europe_Eastern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Europe_Non_EU_energy_low(:,i) = Europe_Non_EU(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Europe_Non_EU_energy_high(:,i) = Europe_Non_EU(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); European_Free_Trade_Association_energy_low(:,i) = European_Free_Trade_Association(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); European_Free_Trade_Association_energy_high(:,i) = European_Free_Trade_Association(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); India_energy_low(:,i) = India(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); India_energy_high(:,i) = India(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Indonesia_energy_low(:,i) = Indonesia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Indonesia_energy_high(:,i) = Indonesia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Japan_energy_low(:,i) = Japan(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Japan_energy_high(:,i) = Japan(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Mexico_energy_low(:,i) = Mexico(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Mexico_energy_high(:,i) = Mexico(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Middle_East_energy_low(:,i) = Middle_East(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Middle_East_energy_high(:,i) = Middle_East(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Pakistan_energy_low(:,i) = Pakistan(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Pakistan_energy_high(:,i) = Pakistan(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Russia_energy_low(:,i) = Russia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Russia_energy_high(:,i) = Russia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); South_Africa_energy_low(:,i) = South_Africa(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); South_Africa_energy_high(:,i) = South_Africa(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); South_America_Northern_energy_low(:,i) = South_America_Northern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); South_America_Northern_energy_high(:,i) = South_America_Northern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); South_America_Southern_energy_low(:,i) = South_America_Southern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); South_America_Southern_energy_high(:,i) = South_America_Southern(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); South_Asia_energy_low(:,i) = South_Asia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); South_Asia_energy_high(:,i) = South_Asia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); South_Korea_energy_low(:,i) = South_Korea(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); South_Korea_energy_high(:,i) = South_Korea(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Southeast_Asia_energy_low(:,i) = Southeast_Asia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Southeast_Asia_energy_high(:,i) = Southeast_Asia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Taiwan_energy_low(:,i) = Taiwan(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Taiwan_energy_high(:,i) = Taiwan(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Argentina_energy_low(:,i) = Argentina(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Argentina_energy_high(:,i) = Argentina(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); Columbia_energy_low(:,i) = Columbia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_low(i)); Columbia_energy_high(:,i) = Columbia(:,i)*MW_per_GW*8760*EJ_per_MWh*cf_low(wind_speeds == global_bins_high(i)); end Africa_Eastern_c4_low_l = zeros(9,2); Africa_Eastern_c4_high_l = zeros(9,2); Africa_Eastern_c4_low_h = zeros(9,2); Africa_Eastern_c4_high_h = zeros(9,2); Africa_Eastern_c5_low_l = zeros(9,2); Africa_Eastern_c5_high_l = zeros(9,2); Africa_Eastern_c5_low_h = zeros(9,2); Africa_Eastern_c5_high_h = zeros(9,2); Africa_Eastern_c6_low_l = zeros(9,2); Africa_Eastern_c6_high_l = zeros(9,2); Africa_Eastern_c6_low_h = zeros(9,2); Africa_Eastern_c6_high_h = zeros(9,2); Africa_Eastern_c7_low_l = zeros(9,2); Africa_Eastern_c7_high_l = zeros(9,2); Africa_Eastern_c7_low_h = zeros(9,2); Africa_Eastern_c7_high_h = zeros(9,2); Africa_Eastern_c89_low_l = zeros(9,2); Africa_Eastern_c89_high_l = zeros(9,2); Africa_Eastern_c89_low_h = zeros(9,2); Africa_Eastern_c89_high_h = zeros(9,2); Africa_Northern_c4_low_l = zeros(9,2); Africa_Northern_c4_high_l = zeros(9,2); Africa_Northern_c4_low_h = zeros(9,2); Africa_Northern_c4_high_h = zeros(9,2); Africa_Northern_c5_low_l = zeros(9,2); Africa_Northern_c5_high_l = zeros(9,2); Africa_Northern_c5_low_h = zeros(9,2); Africa_Northern_c5_high_h = zeros(9,2); Africa_Northern_c6_low_l = zeros(9,2); Africa_Northern_c6_high_l = zeros(9,2); Africa_Northern_c6_low_h = zeros(9,2); Africa_Northern_c6_high_h = zeros(9,2); Africa_Northern_c7_low_l = zeros(9,2); Africa_Northern_c7_high_l = zeros(9,2); Africa_Northern_c7_low_h = zeros(9,2); Africa_Northern_c7_high_h = zeros(9,2); Africa_Northern_c89_low_l = zeros(9,2); Africa_Northern_c89_high_l = zeros(9,2); Africa_Northern_c89_low_h = zeros(9,2); Africa_Northern_c89_high_h = zeros(9,2); Africa_Southern_c4_low_l = zeros(9,2); Africa_Southern_c4_high_l = zeros(9,2); Africa_Southern_c4_low_h = zeros(9,2); Africa_Southern_c4_high_h = zeros(9,2); Africa_Southern_c5_low_l = zeros(9,2); Africa_Southern_c5_high_l = zeros(9,2); Africa_Southern_c5_low_h = zeros(9,2); Africa_Southern_c5_high_h = zeros(9,2); Africa_Southern_c6_low_l = zeros(9,2); Africa_Southern_c6_high_l = zeros(9,2); Africa_Southern_c6_low_h = zeros(9,2); Africa_Southern_c6_high_h = zeros(9,2); Africa_Southern_c7_low_l = zeros(9,2); Africa_Southern_c7_high_l = zeros(9,2); Africa_Southern_c7_low_h = zeros(9,2); Africa_Southern_c7_high_h = zeros(9,2); Africa_Southern_c89_low_l = zeros(9,2); Africa_Southern_c89_high_l = zeros(9,2); Africa_Southern_c89_low_h = zeros(9,2); Africa_Southern_c89_high_h = zeros(9,2); Africa_Western_c4_low_l = zeros(9,2); Africa_Western_c4_high_l = zeros(9,2); Africa_Western_c4_low_h = zeros(9,2); Africa_Western_c4_high_h = zeros(9,2); Africa_Western_c5_low_l = zeros(9,2); Africa_Western_c5_high_l = zeros(9,2); Africa_Western_c5_low_h = zeros(9,2); Africa_Western_c5_high_h = zeros(9,2); Africa_Western_c6_low_l = zeros(9,2); Africa_Western_c6_high_l = zeros(9,2); Africa_Western_c6_low_h = zeros(9,2); Africa_Western_c6_high_h = zeros(9,2); Africa_Western_c7_low_l = zeros(9,2); Africa_Western_c7_high_l = zeros(9,2); Africa_Western_c7_low_h = zeros(9,2); Africa_Western_c7_high_h = zeros(9,2); Africa_Western_c89_low_l = zeros(9,2); Africa_Western_c89_high_l = zeros(9,2); Africa_Western_c89_low_h = zeros(9,2); Africa_Western_c89_high_h = zeros(9,2); Australia_NZ_c4_low_l = zeros(9,2); Australia_NZ_c4_high_l = zeros(9,2); Australia_NZ_c4_low_h = zeros(9,2); Australia_NZ_c4_high_h = zeros(9,2); Australia_NZ_c5_low_l = zeros(9,2); Australia_NZ_c5_high_l = zeros(9,2); Australia_NZ_c5_low_h = zeros(9,2); Australia_NZ_c5_high_h = zeros(9,2); Australia_NZ_c6_low_l = zeros(9,2); Australia_NZ_c6_high_l = zeros(9,2); Australia_NZ_c6_low_h = zeros(9,2); Australia_NZ_c6_high_h = zeros(9,2); Australia_NZ_c7_low_l = zeros(9,2); Australia_NZ_c7_high_l = zeros(9,2); Australia_NZ_c7_low_h = zeros(9,2); Australia_NZ_c7_high_h = zeros(9,2); Australia_NZ_c89_low_l = zeros(9,2); Australia_NZ_c89_high_l = zeros(9,2); Australia_NZ_c89_low_h = zeros(9,2); Australia_NZ_c89_high_h = zeros(9,2); Brazil_c4_low_l = zeros(9,2); Brazil_c4_high_l = zeros(9,2); Brazil_c4_low_h = zeros(9,2); Brazil_c4_high_h = zeros(9,2); Brazil_c5_low_l = zeros(9,2); Brazil_c5_high_l = zeros(9,2); Brazil_c5_low_h = zeros(9,2); Brazil_c5_high_h = zeros(9,2); Brazil_c6_low_l = zeros(9,2); Brazil_c6_high_l = zeros(9,2); Brazil_c6_low_h = zeros(9,2); Brazil_c6_high_h = zeros(9,2); Brazil_c7_low_l = zeros(9,2); Brazil_c7_high_l = zeros(9,2); Brazil_c7_low_h = zeros(9,2); Brazil_c7_high_h = zeros(9,2); Brazil_c89_low_l = zeros(9,2); Brazil_c89_high_l = zeros(9,2); Brazil_c89_low_h = zeros(9,2); Brazil_c89_high_h = zeros(9,2); Canada_c4_low_l = zeros(9,2); Canada_c4_high_l = zeros(9,2); Canada_c4_low_h = zeros(9,2); Canada_c4_high_h = zeros(9,2); Canada_c5_low_l = zeros(9,2); Canada_c5_high_l = zeros(9,2); Canada_c5_low_h = zeros(9,2); Canada_c5_high_h = zeros(9,2); Canada_c6_low_l = zeros(9,2); Canada_c6_high_l = zeros(9,2); Canada_c6_low_h = zeros(9,2); Canada_c6_high_h = zeros(9,2); Canada_c7_low_l = zeros(9,2); Canada_c7_high_l = zeros(9,2); Canada_c7_low_h = zeros(9,2); Canada_c7_high_h = zeros(9,2); Canada_c89_low_l = zeros(9,2); Canada_c89_high_l = zeros(9,2); Canada_c89_low_h = zeros(9,2); Canada_c89_high_h = zeros(9,2); Central_America_and_Caribbean_c4_low_l = zeros(9,2); Central_America_and_Caribbean_c4_high_l = zeros(9,2); Central_America_and_Caribbean_c4_low_h = zeros(9,2); Central_America_and_Caribbean_c4_high_h = zeros(9,2); Central_America_and_Caribbean_c5_low_l = zeros(9,2); Central_America_and_Caribbean_c5_high_l = zeros(9,2); Central_America_and_Caribbean_c5_low_h = zeros(9,2); Central_America_and_Caribbean_c5_high_h = zeros(9,2); Central_America_and_Caribbean_c6_low_l = zeros(9,2); Central_America_and_Caribbean_c6_high_l = zeros(9,2); Central_America_and_Caribbean_c6_low_h = zeros(9,2); Central_America_and_Caribbean_c6_high_h = zeros(9,2); Central_America_and_Caribbean_c7_low_l = zeros(9,2); Central_America_and_Caribbean_c7_high_l = zeros(9,2); Central_America_and_Caribbean_c7_low_h = zeros(9,2); Central_America_and_Caribbean_c7_high_h = zeros(9,2); Central_America_and_Caribbean_c89_low_l = zeros(9,2); Central_America_and_Caribbean_c89_high_l = zeros(9,2); Central_America_and_Caribbean_c89_low_h = zeros(9,2); Central_America_and_Caribbean_c89_high_h = zeros(9,2); Central_Asia_c4_low_l = zeros(9,2); Central_Asia_c4_high_l = zeros(9,2); Central_Asia_c4_low_h = zeros(9,2); Central_Asia_c4_high_h = zeros(9,2); Central_Asia_c5_low_l = zeros(9,2); Central_Asia_c5_high_l = zeros(9,2); Central_Asia_c5_low_h = zeros(9,2); Central_Asia_c5_high_h = zeros(9,2); Central_Asia_c6_low_l = zeros(9,2); Central_Asia_c6_high_l = zeros(9,2); Central_Asia_c6_low_h = zeros(9,2); Central_Asia_c6_high_h = zeros(9,2); Central_Asia_c7_low_l = zeros(9,2); Central_Asia_c7_high_l = zeros(9,2); Central_Asia_c7_low_h = zeros(9,2); Central_Asia_c7_high_h = zeros(9,2); Central_Asia_c89_low_l = zeros(9,2); Central_Asia_c89_high_l = zeros(9,2); Central_Asia_c89_low_h = zeros(9,2); Central_Asia_c89_high_h = zeros(9,2); China_c4_low_l = zeros(9,2); China_c4_high_l = zeros(9,2); China_c4_low_h = zeros(9,2); China_c4_high_h = zeros(9,2); China_c5_low_l = zeros(9,2); China_c5_high_l = zeros(9,2); China_c5_low_h = zeros(9,2); China_c5_high_h = zeros(9,2); China_c6_low_l = zeros(9,2); China_c6_high_l = zeros(9,2); China_c6_low_h = zeros(9,2); China_c6_high_h = zeros(9,2); China_c7_low_l = zeros(9,2); China_c7_high_l = zeros(9,2); China_c7_low_h = zeros(9,2); China_c7_high_h = zeros(9,2); China_c89_low_l = zeros(9,2); China_c89_high_l = zeros(9,2); China_c89_low_h = zeros(9,2); China_c89_high_h = zeros(9,2); for i = 1:size(Africa_Eastern,1); Africa_Eastern_c4_low_l(i,:) = [Africa_Eastern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c4_high_l(i,:) = [Africa_Eastern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c4_low_h(i,:) = [Africa_Eastern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c4_high_h(i,:) = [Africa_Eastern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c5_low_l(i,:) = [Africa_Eastern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c5_high_l(i,:) = [Africa_Eastern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c5_low_h(i,:) = [Africa_Eastern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c5_high_h(i,:) = [Africa_Eastern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c6_low_l(i,:) = [Africa_Eastern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c6_high_l(i,:) = [Africa_Eastern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c6_low_h(i,:) = [Africa_Eastern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c6_high_h(i,:) = [Africa_Eastern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c7_low_l(i,:) = [Africa_Eastern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c7_high_l(i,:) = [Africa_Eastern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c7_low_h(i,:) = [Africa_Eastern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c7_high_h(i,:) = [Africa_Eastern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c89_low_l(i,:) = [Africa_Eastern_energy_low(i,8)+Africa_Eastern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c89_high_l(i,:) = [Africa_Eastern_energy_high(i,8)+Africa_Eastern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Eastern_c89_low_h(i,:) = [Africa_Eastern_energy_low(i,8)+Africa_Eastern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Eastern_c89_high_h(i,:) = [Africa_Eastern_energy_high(i,8)+Africa_Eastern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c4_low_l(i,:) = [Africa_Northern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c4_high_l(i,:) = [Africa_Northern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c4_low_h(i,:) = [Africa_Northern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c4_high_h(i,:) = [Africa_Northern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c5_low_l(i,:) = [Africa_Northern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c5_high_l(i,:) = [Africa_Northern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c5_low_h(i,:) = [Africa_Northern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c5_high_h(i,:) = [Africa_Northern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c6_low_l(i,:) = [Africa_Northern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c6_high_l(i,:) = [Africa_Northern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c6_low_h(i,:) = [Africa_Northern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c6_high_h(i,:) = [Africa_Northern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c7_low_l(i,:) = [Africa_Northern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c7_high_l(i,:) = [Africa_Northern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c7_low_h(i,:) = [Africa_Northern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c7_high_h(i,:) = [Africa_Northern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c89_low_l(i,:) = [Africa_Northern_energy_low(i,8)+Africa_Northern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c89_high_l(i,:) = [Africa_Northern_energy_high(i,8)+Africa_Northern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Northern_c89_low_h(i,:) = [Africa_Northern_energy_low(i,8)+Africa_Northern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Northern_c89_high_h(i,:) = [Africa_Northern_energy_high(i,8)+Africa_Northern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c4_low_l(i,:) = [Africa_Western_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c4_high_l(i,:) = [Africa_Western_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c4_low_h(i,:) = [Africa_Western_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c4_high_h(i,:) = [Africa_Western_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c5_low_l(i,:) = [Africa_Western_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c5_high_l(i,:) = [Africa_Western_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c5_low_h(i,:) = [Africa_Western_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c5_high_h(i,:) = [Africa_Western_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c6_low_l(i,:) = [Africa_Western_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c6_high_l(i,:) = [Africa_Western_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c6_low_h(i,:) = [Africa_Western_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c6_high_h(i,:) = [Africa_Western_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c7_low_l(i,:) = [Africa_Western_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c7_high_l(i,:) = [Africa_Western_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c7_low_h(i,:) = [Africa_Western_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c7_high_h(i,:) = [Africa_Western_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c89_low_l(i,:) = [Africa_Western_energy_low(i,8)+Africa_Western_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c89_high_l(i,:) = [Africa_Western_energy_high(i,8)+Africa_Western_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Western_c89_low_h(i,:) = [Africa_Western_energy_low(i,8)+Africa_Western_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Western_c89_high_h(i,:) = [Africa_Western_energy_high(i,8)+Africa_Western_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c4_low_l(i,:) = [Africa_Southern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c4_high_l(i,:) = [Africa_Southern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c4_low_h(i,:) = [Africa_Southern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c4_high_h(i,:) = [Africa_Southern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c5_low_l(i,:) = [Africa_Southern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c5_high_l(i,:) = [Africa_Southern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c5_low_h(i,:) = [Africa_Southern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c5_high_h(i,:) = [Africa_Southern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c6_low_l(i,:) = [Africa_Southern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c6_high_l(i,:) = [Africa_Southern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c6_low_h(i,:) = [Africa_Southern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c6_high_h(i,:) = [Africa_Southern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c7_low_l(i,:) = [Africa_Southern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c7_high_l(i,:) = [Africa_Southern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c7_low_h(i,:) = [Africa_Southern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c7_high_h(i,:) = [Africa_Southern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c89_low_l(i,:) = [Africa_Southern_energy_low(i,8)+Africa_Southern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c89_high_l(i,:) = [Africa_Southern_energy_high(i,8)+Africa_Southern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Africa_Southern_c89_low_h(i,:) = [Africa_Southern_energy_low(i,8)+Africa_Southern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Africa_Southern_c89_high_h(i,:) = [Africa_Southern_energy_high(i,8)+Africa_Southern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c4_low_l(i,:) = [Australia_NZ_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c4_high_l(i,:) = [Australia_NZ_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c4_low_h(i,:) = [Australia_NZ_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c4_high_h(i,:) = [Australia_NZ_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c5_low_l(i,:) = [Australia_NZ_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c5_high_l(i,:) = [Australia_NZ_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c5_low_h(i,:) = [Australia_NZ_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c5_high_h(i,:) = [Australia_NZ_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c6_low_l(i,:) = [Australia_NZ_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c6_high_l(i,:) = [Australia_NZ_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c6_low_h(i,:) = [Australia_NZ_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c6_high_h(i,:) = [Australia_NZ_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c7_low_l(i,:) = [Australia_NZ_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c7_high_l(i,:) = [Australia_NZ_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c7_low_h(i,:) = [Australia_NZ_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c7_high_h(i,:) = [Australia_NZ_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c89_low_l(i,:) = [Australia_NZ_energy_low(i,8)+Australia_NZ_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c89_high_l(i,:) = [Australia_NZ_energy_high(i,8)+Australia_NZ_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Australia_NZ_c89_low_h(i,:) = [Australia_NZ_energy_low(i,8)+Australia_NZ_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Australia_NZ_c89_high_h(i,:) = [Australia_NZ_energy_high(i,8)+Australia_NZ_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c4_low_l(i,:) = [Brazil_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c4_high_l(i,:) = [Brazil_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c4_low_h(i,:) = [Brazil_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c4_high_h(i,:) = [Brazil_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c5_low_l(i,:) = [Brazil_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c5_high_l(i,:) = [Brazil_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c5_low_h(i,:) = [Brazil_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c5_high_h(i,:) = [Brazil_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c6_low_l(i,:) = [Brazil_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c6_high_l(i,:) = [Brazil_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c6_low_h(i,:) = [Brazil_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c6_high_h(i,:) = [Brazil_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c7_low_l(i,:) = [Brazil_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c7_high_l(i,:) = [Brazil_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c7_low_h(i,:) = [Brazil_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c7_high_h(i,:) = [Brazil_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c89_low_l(i,:) = [Brazil_energy_low(i,8)+Brazil_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c89_high_l(i,:) = [Brazil_energy_high(i,8)+Brazil_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Brazil_c89_low_h(i,:) = [Brazil_energy_low(i,8)+Brazil_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Brazil_c89_high_h(i,:) = [Brazil_energy_high(i,8)+Brazil_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c4_low_l(i,:) = [Canada_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c4_high_l(i,:) = [Canada_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c4_low_h(i,:) = [Canada_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c4_high_h(i,:) = [Canada_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c5_low_l(i,:) = [Canada_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c5_high_l(i,:) = [Canada_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c5_low_h(i,:) = [Canada_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c5_high_h(i,:) = [Canada_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c6_low_l(i,:) = [Canada_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c6_high_l(i,:) = [Canada_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c6_low_h(i,:) = [Canada_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c6_high_h(i,:) = [Canada_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c7_low_l(i,:) = [Canada_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c7_high_l(i,:) = [Canada_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c7_low_h(i,:) = [Canada_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c7_high_h(i,:) = [Canada_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c89_low_l(i,:) = [Canada_energy_low(i,8)+Canada_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c89_high_l(i,:) = [Canada_energy_high(i,8)+Canada_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Canada_c89_low_h(i,:) = [Canada_energy_low(i,8)+Canada_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Canada_c89_high_h(i,:) = [Canada_energy_high(i,8)+Canada_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c4_low_l(i,:) = [Central_America_and_Caribbean_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c4_high_l(i,:) = [Central_America_and_Caribbean_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c4_low_h(i,:) = [Central_America_and_Caribbean_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c4_high_h(i,:) = [Central_America_and_Caribbean_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c5_low_l(i,:) = [Central_America_and_Caribbean_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c5_high_l(i,:) = [Central_America_and_Caribbean_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c5_low_h(i,:) = [Central_America_and_Caribbean_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c5_high_h(i,:) = [Central_America_and_Caribbean_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c6_low_l(i,:) = [Central_America_and_Caribbean_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c6_high_l(i,:) = [Central_America_and_Caribbean_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c6_low_h(i,:) = [Central_America_and_Caribbean_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c6_high_h(i,:) = [Central_America_and_Caribbean_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c7_low_l(i,:) = [Central_America_and_Caribbean_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c7_high_l(i,:) = [Central_America_and_Caribbean_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c7_low_h(i,:) = [Central_America_and_Caribbean_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c7_high_h(i,:) = [Central_America_and_Caribbean_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c89_low_l(i,:) = [Central_America_and_Caribbean_energy_low(i,8)+Central_America_and_Caribbean_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c89_high_l(i,:) = [Central_America_and_Caribbean_energy_high(i,8)+Central_America_and_Caribbean_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_America_and_Caribbean_c89_low_h(i,:) = [Central_America_and_Caribbean_energy_low(i,8)+Central_America_and_Caribbean_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_America_and_Caribbean_c89_high_h(i,:) = [Central_America_and_Caribbean_energy_high(i,8)+Central_America_and_Caribbean_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c4_low_l(i,:) = [Central_Asia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c4_high_l(i,:) = [Central_Asia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c4_low_h(i,:) = [Central_Asia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c4_high_h(i,:) = [Central_Asia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c5_low_l(i,:) = [Central_Asia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c5_high_l(i,:) = [Central_Asia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c5_low_h(i,:) = [Central_Asia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c5_high_h(i,:) = [Central_Asia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c6_low_l(i,:) = [Central_Asia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c6_high_l(i,:) = [Central_Asia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c6_low_h(i,:) = [Central_Asia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c6_high_h(i,:) = [Central_Asia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c7_low_l(i,:) = [Central_Asia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c7_high_l(i,:) = [Central_Asia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c7_low_h(i,:) = [Central_Asia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c7_high_h(i,:) = [Central_Asia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c89_low_l(i,:) = [Central_Asia_energy_low(i,8)+Central_Asia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c89_high_l(i,:) = [Central_Asia_energy_high(i,8)+Central_Asia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Central_Asia_c89_low_h(i,:) = [Central_Asia_energy_low(i,8)+Central_Asia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Central_Asia_c89_high_h(i,:) = [Central_Asia_energy_high(i,8)+Central_Asia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c4_low_l(i,:) = [China_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c4_high_l(i,:) = [China_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c4_low_h(i,:) = [China_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c4_high_h(i,:) = [China_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c5_low_l(i,:) = [China_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c5_high_l(i,:) = [China_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c5_low_h(i,:) = [China_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c5_high_h(i,:) = [China_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c6_low_l(i,:) = [China_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c6_high_l(i,:) = [China_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c6_low_h(i,:) = [China_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c6_high_h(i,:) = [China_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c7_low_l(i,:) = [China_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c7_high_l(i,:) = [China_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c7_low_h(i,:) = [China_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c7_high_h(i,:) = [China_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c89_low_l(i,:) = [China_energy_low(i,8)+China_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c89_high_l(i,:) = [China_energy_high(i,8)+China_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; China_c89_low_h(i,:) = [China_energy_low(i,8)+China_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; China_c89_high_h(i,:) = [China_energy_high(i,8)+China_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c4_low_l(i,:) = [EU_12_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c4_high_l(i,:) = [EU_12_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c4_low_h(i,:) = [EU_12_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c4_high_h(i,:) = [EU_12_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c5_low_l(i,:) = [EU_12_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c5_high_l(i,:) = [EU_12_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c5_low_h(i,:) = [EU_12_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c5_high_h(i,:) = [EU_12_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c6_low_l(i,:) = [EU_12_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c6_high_l(i,:) = [EU_12_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c6_low_h(i,:) = [EU_12_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c6_high_h(i,:) = [EU_12_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c7_low_l(i,:) = [EU_12_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c7_high_l(i,:) = [EU_12_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c7_low_h(i,:) = [EU_12_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c7_high_h(i,:) = [EU_12_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c89_low_l(i,:) = [EU_12_energy_low(i,8)+EU_12_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c89_high_l(i,:) = [EU_12_energy_high(i,8)+EU_12_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_12_c89_low_h(i,:) = [EU_12_energy_low(i,8)+EU_12_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_12_c89_high_h(i,:) = [EU_12_energy_high(i,8)+EU_12_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c4_low_l(i,:) = [EU_15_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c4_high_l(i,:) = [EU_15_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c4_low_h(i,:) = [EU_15_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c4_high_h(i,:) = [EU_15_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c5_low_l(i,:) = [EU_15_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c5_high_l(i,:) = [EU_15_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c5_low_h(i,:) = [EU_15_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c5_high_h(i,:) = [EU_15_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c6_low_l(i,:) = [EU_15_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c6_high_l(i,:) = [EU_15_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c6_low_h(i,:) = [EU_15_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c6_high_h(i,:) = [EU_15_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c7_low_l(i,:) = [EU_15_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c7_high_l(i,:) = [EU_15_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c7_low_h(i,:) = [EU_15_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c7_high_h(i,:) = [EU_15_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c89_low_l(i,:) = [EU_15_energy_low(i,8)+EU_15_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c89_high_l(i,:) = [EU_15_energy_high(i,8)+EU_15_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; EU_15_c89_low_h(i,:) = [EU_15_energy_low(i,8)+EU_15_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; EU_15_c89_high_h(i,:) = [EU_15_energy_high(i,8)+EU_15_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c4_low_l(i,:) = [Europe_Eastern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c4_high_l(i,:) = [Europe_Eastern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c4_low_h(i,:) = [Europe_Eastern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c4_high_h(i,:) = [Europe_Eastern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c5_low_l(i,:) = [Europe_Eastern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c5_high_l(i,:) = [Europe_Eastern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c5_low_h(i,:) = [Europe_Eastern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c5_high_h(i,:) = [Europe_Eastern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c6_low_l(i,:) = [Europe_Eastern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c6_high_l(i,:) = [Europe_Eastern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c6_low_h(i,:) = [Europe_Eastern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c6_high_h(i,:) = [Europe_Eastern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c7_low_l(i,:) = [Europe_Eastern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c7_high_l(i,:) = [Europe_Eastern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c7_low_h(i,:) = [Europe_Eastern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c7_high_h(i,:) = [Europe_Eastern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c89_low_l(i,:) = [Europe_Eastern_energy_low(i,8)+Europe_Eastern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c89_high_l(i,:) = [Europe_Eastern_energy_high(i,8)+Europe_Eastern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Eastern_c89_low_h(i,:) = [Europe_Eastern_energy_low(i,8)+Europe_Eastern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Eastern_c89_high_h(i,:) = [Europe_Eastern_energy_high(i,8)+Europe_Eastern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c4_low_l(i,:) = [Europe_Non_EU_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c4_high_l(i,:) = [Europe_Non_EU_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c4_low_h(i,:) = [Europe_Non_EU_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c4_high_h(i,:) = [Europe_Non_EU_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c5_low_l(i,:) = [Europe_Non_EU_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c5_high_l(i,:) = [Europe_Non_EU_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c5_low_h(i,:) = [Europe_Non_EU_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c5_high_h(i,:) = [Europe_Non_EU_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c6_low_l(i,:) = [Europe_Non_EU_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c6_high_l(i,:) = [Europe_Non_EU_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c6_low_h(i,:) = [Europe_Non_EU_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c6_high_h(i,:) = [Europe_Non_EU_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c7_low_l(i,:) = [Europe_Non_EU_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c7_high_l(i,:) = [Europe_Non_EU_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c7_low_h(i,:) = [Europe_Non_EU_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c7_high_h(i,:) = [Europe_Non_EU_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c89_low_l(i,:) = [Europe_Non_EU_energy_low(i,8)+Europe_Non_EU_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c89_high_l(i,:) = [Europe_Non_EU_energy_high(i,8)+Europe_Non_EU_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Europe_Non_EU_c89_low_h(i,:) = [Europe_Non_EU_energy_low(i,8)+Europe_Non_EU_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Europe_Non_EU_c89_high_h(i,:) = [Europe_Non_EU_energy_high(i,8)+Europe_Non_EU_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c4_low_l(i,:) = [European_Free_Trade_Association_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c4_high_l(i,:) = [European_Free_Trade_Association_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c4_low_h(i,:) = [European_Free_Trade_Association_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c4_high_h(i,:) = [European_Free_Trade_Association_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c5_low_l(i,:) = [European_Free_Trade_Association_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c5_high_l(i,:) = [European_Free_Trade_Association_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c5_low_h(i,:) = [European_Free_Trade_Association_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c5_high_h(i,:) = [European_Free_Trade_Association_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c6_low_l(i,:) = [European_Free_Trade_Association_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c6_high_l(i,:) = [European_Free_Trade_Association_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c6_low_h(i,:) = [European_Free_Trade_Association_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c6_high_h(i,:) = [European_Free_Trade_Association_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c7_low_l(i,:) = [European_Free_Trade_Association_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c7_high_l(i,:) = [European_Free_Trade_Association_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c7_low_h(i,:) = [European_Free_Trade_Association_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c7_high_h(i,:) = [European_Free_Trade_Association_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c89_low_l(i,:) = [European_Free_Trade_Association_energy_low(i,8)+European_Free_Trade_Association_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c89_high_l(i,:) = [European_Free_Trade_Association_energy_high(i,8)+European_Free_Trade_Association_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; European_Free_Trade_Association_c89_low_h(i,:) = [European_Free_Trade_Association_energy_low(i,8)+European_Free_Trade_Association_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; European_Free_Trade_Association_c89_high_h(i,:) = [European_Free_Trade_Association_energy_high(i,8)+European_Free_Trade_Association_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c4_low_l(i,:) = [India_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c4_high_l(i,:) = [India_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c4_low_h(i,:) = [India_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c4_high_h(i,:) = [India_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c5_low_l(i,:) = [India_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c5_high_l(i,:) = [India_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c5_low_h(i,:) = [India_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c5_high_h(i,:) = [India_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c6_low_l(i,:) = [India_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c6_high_l(i,:) = [India_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c6_low_h(i,:) = [India_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c6_high_h(i,:) = [India_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c7_low_l(i,:) = [India_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c7_high_l(i,:) = [India_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c7_low_h(i,:) = [India_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c7_high_h(i,:) = [India_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c89_low_l(i,:) = [India_energy_low(i,8)+India_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c89_high_l(i,:) = [India_energy_high(i,8)+India_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; India_c89_low_h(i,:) = [India_energy_low(i,8)+India_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; India_c89_high_h(i,:) = [India_energy_high(i,8)+India_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c4_low_l(i,:) = [Indonesia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c4_high_l(i,:) = [Indonesia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c4_low_h(i,:) = [Indonesia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c4_high_h(i,:) = [Indonesia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c5_low_l(i,:) = [Indonesia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c5_high_l(i,:) = [Indonesia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c5_low_h(i,:) = [Indonesia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c5_high_h(i,:) = [Indonesia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c6_low_l(i,:) = [Indonesia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c6_high_l(i,:) = [Indonesia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c6_low_h(i,:) = [Indonesia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c6_high_h(i,:) = [Indonesia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c7_low_l(i,:) = [Indonesia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c7_high_l(i,:) = [Indonesia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c7_low_h(i,:) = [Indonesia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c7_high_h(i,:) = [Indonesia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c89_low_l(i,:) = [Indonesia_energy_low(i,8)+Indonesia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c89_high_l(i,:) = [Indonesia_energy_high(i,8)+Indonesia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Indonesia_c89_low_h(i,:) = [Indonesia_energy_low(i,8)+Indonesia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Indonesia_c89_high_h(i,:) = [Indonesia_energy_high(i,8)+Indonesia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c4_low_l(i,:) = [Japan_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c4_high_l(i,:) = [Japan_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c4_low_h(i,:) = [Japan_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c4_high_h(i,:) = [Japan_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c5_low_l(i,:) = [Japan_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c5_high_l(i,:) = [Japan_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c5_low_h(i,:) = [Japan_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c5_high_h(i,:) = [Japan_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c6_low_l(i,:) = [Japan_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c6_high_l(i,:) = [Japan_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c6_low_h(i,:) = [Japan_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c6_high_h(i,:) = [Japan_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c7_low_l(i,:) = [Japan_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c7_high_l(i,:) = [Japan_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c7_low_h(i,:) = [Japan_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c7_high_h(i,:) = [Japan_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c89_low_l(i,:) = [Japan_energy_low(i,8)+Japan_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c89_high_l(i,:) = [Japan_energy_high(i,8)+Japan_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Japan_c89_low_h(i,:) = [Japan_energy_low(i,8)+Japan_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Japan_c89_high_h(i,:) = [Japan_energy_high(i,8)+Japan_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c4_low_l(i,:) = [Mexico_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c4_high_l(i,:) = [Mexico_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c4_low_h(i,:) = [Mexico_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c4_high_h(i,:) = [Mexico_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c5_low_l(i,:) = [Mexico_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c5_high_l(i,:) = [Mexico_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c5_low_h(i,:) = [Mexico_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c5_high_h(i,:) = [Mexico_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c6_low_l(i,:) = [Mexico_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c6_high_l(i,:) = [Mexico_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c6_low_h(i,:) = [Mexico_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c6_high_h(i,:) = [Mexico_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c7_low_l(i,:) = [Mexico_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c7_high_l(i,:) = [Mexico_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c7_low_h(i,:) = [Mexico_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c7_high_h(i,:) = [Mexico_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c89_low_l(i,:) = [Mexico_energy_low(i,8)+Mexico_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c89_high_l(i,:) = [Mexico_energy_high(i,8)+Mexico_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Mexico_c89_low_h(i,:) = [Mexico_energy_low(i,8)+Mexico_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Mexico_c89_high_h(i,:) = [Mexico_energy_high(i,8)+Mexico_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c4_low_l(i,:) = [Middle_East_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c4_high_l(i,:) = [Middle_East_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c4_low_h(i,:) = [Middle_East_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c4_high_h(i,:) = [Middle_East_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c5_low_l(i,:) = [Middle_East_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c5_high_l(i,:) = [Middle_East_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c5_low_h(i,:) = [Middle_East_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c5_high_h(i,:) = [Middle_East_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c6_low_l(i,:) = [Middle_East_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c6_high_l(i,:) = [Middle_East_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c6_low_h(i,:) = [Middle_East_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c6_high_h(i,:) = [Middle_East_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c7_low_l(i,:) = [Middle_East_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c7_high_l(i,:) = [Middle_East_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c7_low_h(i,:) = [Middle_East_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c7_high_h(i,:) = [Middle_East_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c89_low_l(i,:) = [Middle_East_energy_low(i,8)+Middle_East_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c89_high_l(i,:) = [Middle_East_energy_high(i,8)+Middle_East_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Middle_East_c89_low_h(i,:) = [Middle_East_energy_low(i,8)+Middle_East_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Middle_East_c89_high_h(i,:) = [Middle_East_energy_high(i,8)+Middle_East_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c4_low_l(i,:) = [Pakistan_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c4_high_l(i,:) = [Pakistan_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c4_low_h(i,:) = [Pakistan_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c4_high_h(i,:) = [Pakistan_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c5_low_l(i,:) = [Pakistan_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c5_high_l(i,:) = [Pakistan_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c5_low_h(i,:) = [Pakistan_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c5_high_h(i,:) = [Pakistan_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c6_low_l(i,:) = [Pakistan_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c6_high_l(i,:) = [Pakistan_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c6_low_h(i,:) = [Pakistan_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c6_high_h(i,:) = [Pakistan_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c7_low_l(i,:) = [Pakistan_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c7_high_l(i,:) = [Pakistan_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c7_low_h(i,:) = [Pakistan_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c7_high_h(i,:) = [Pakistan_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c89_low_l(i,:) = [Pakistan_energy_low(i,8)+Pakistan_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c89_high_l(i,:) = [Pakistan_energy_high(i,8)+Pakistan_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Pakistan_c89_low_h(i,:) = [Pakistan_energy_low(i,8)+Pakistan_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Pakistan_c89_high_h(i,:) = [Pakistan_energy_high(i,8)+Pakistan_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c4_low_l(i,:) = [Russia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c4_high_l(i,:) = [Russia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c4_low_h(i,:) = [Russia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c4_high_h(i,:) = [Russia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c5_low_l(i,:) = [Russia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c5_high_l(i,:) = [Russia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c5_low_h(i,:) = [Russia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c5_high_h(i,:) = [Russia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c6_low_l(i,:) = [Russia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c6_high_l(i,:) = [Russia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c6_low_h(i,:) = [Russia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c6_high_h(i,:) = [Russia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c7_low_l(i,:) = [Russia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c7_high_l(i,:) = [Russia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c7_low_h(i,:) = [Russia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c7_high_h(i,:) = [Russia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c89_low_l(i,:) = [Russia_energy_low(i,8)+Russia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c89_high_l(i,:) = [Russia_energy_high(i,8)+Russia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Russia_c89_low_h(i,:) = [Russia_energy_low(i,8)+Russia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Russia_c89_high_h(i,:) = [Russia_energy_high(i,8)+Russia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c4_low_l(i,:) = [South_Africa_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c4_high_l(i,:) = [South_Africa_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c4_low_h(i,:) = [South_Africa_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c4_high_h(i,:) = [South_Africa_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c5_low_l(i,:) = [South_Africa_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c5_high_l(i,:) = [South_Africa_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c5_low_h(i,:) = [South_Africa_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c5_high_h(i,:) = [South_Africa_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c6_low_l(i,:) = [South_Africa_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c6_high_l(i,:) = [South_Africa_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c6_low_h(i,:) = [South_Africa_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c6_high_h(i,:) = [South_Africa_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c7_low_l(i,:) = [South_Africa_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c7_high_l(i,:) = [South_Africa_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c7_low_h(i,:) = [South_Africa_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c7_high_h(i,:) = [South_Africa_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c89_low_l(i,:) = [South_Africa_energy_low(i,8)+South_Africa_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c89_high_l(i,:) = [South_Africa_energy_high(i,8)+South_Africa_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Africa_c89_low_h(i,:) = [South_Africa_energy_low(i,8)+South_Africa_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Africa_c89_high_h(i,:) = [South_Africa_energy_high(i,8)+South_Africa_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c4_low_l(i,:) = [South_America_Northern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c4_high_l(i,:) = [South_America_Northern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c4_low_h(i,:) = [South_America_Northern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c4_high_h(i,:) = [South_America_Northern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c5_low_l(i,:) = [South_America_Northern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c5_high_l(i,:) = [South_America_Northern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c5_low_h(i,:) = [South_America_Northern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c5_high_h(i,:) = [South_America_Northern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c6_low_l(i,:) = [South_America_Northern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c6_high_l(i,:) = [South_America_Northern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c6_low_h(i,:) = [South_America_Northern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c6_high_h(i,:) = [South_America_Northern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c7_low_l(i,:) = [South_America_Northern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c7_high_l(i,:) = [South_America_Northern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c7_low_h(i,:) = [South_America_Northern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c7_high_h(i,:) = [South_America_Northern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c89_low_l(i,:) = [South_America_Northern_energy_low(i,8)+South_America_Northern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c89_high_l(i,:) = [South_America_Northern_energy_high(i,8)+South_America_Northern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Northern_c89_low_h(i,:) = [South_America_Northern_energy_low(i,8)+South_America_Northern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Northern_c89_high_h(i,:) = [South_America_Northern_energy_high(i,8)+South_America_Northern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c4_low_l(i,:) = [South_America_Southern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c4_high_l(i,:) = [South_America_Southern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c4_low_h(i,:) = [South_America_Southern_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c4_high_h(i,:) = [South_America_Southern_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c5_low_l(i,:) = [South_America_Southern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c5_high_l(i,:) = [South_America_Southern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c5_low_h(i,:) = [South_America_Southern_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c5_high_h(i,:) = [South_America_Southern_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c6_low_l(i,:) = [South_America_Southern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c6_high_l(i,:) = [South_America_Southern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c6_low_h(i,:) = [South_America_Southern_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c6_high_h(i,:) = [South_America_Southern_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c7_low_l(i,:) = [South_America_Southern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c7_high_l(i,:) = [South_America_Southern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c7_low_h(i,:) = [South_America_Southern_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c7_high_h(i,:) = [South_America_Southern_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c89_low_l(i,:) = [South_America_Southern_energy_low(i,8)+South_America_Southern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c89_high_l(i,:) = [South_America_Southern_energy_high(i,8)+South_America_Southern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_America_Southern_c89_low_h(i,:) = [South_America_Southern_energy_low(i,8)+South_America_Southern_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_America_Southern_c89_high_h(i,:) = [South_America_Southern_energy_high(i,8)+South_America_Southern_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c4_low_l(i,:) = [South_Asia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c4_high_l(i,:) = [South_Asia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c4_low_h(i,:) = [South_Asia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c4_high_h(i,:) = [South_Asia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c5_low_l(i,:) = [South_Asia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c5_high_l(i,:) = [South_Asia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c5_low_h(i,:) = [South_Asia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c5_high_h(i,:) = [South_Asia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c6_low_l(i,:) = [South_Asia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c6_high_l(i,:) = [South_Asia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c6_low_h(i,:) = [South_Asia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c6_high_h(i,:) = [South_Asia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c7_low_l(i,:) = [South_Asia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c7_high_l(i,:) = [South_Asia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c7_low_h(i,:) = [South_Asia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c7_high_h(i,:) = [South_Asia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c89_low_l(i,:) = [South_Asia_energy_low(i,8)+South_Asia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c89_high_l(i,:) = [South_Asia_energy_high(i,8)+South_Asia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Asia_c89_low_h(i,:) = [South_Asia_energy_low(i,8)+South_Asia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Asia_c89_high_h(i,:) = [South_Asia_energy_high(i,8)+South_Asia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c4_low_l(i,:) = [South_Korea_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c4_high_l(i,:) = [South_Korea_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c4_low_h(i,:) = [South_Korea_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c4_high_h(i,:) = [South_Korea_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c5_low_l(i,:) = [South_Korea_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c5_high_l(i,:) = [South_Korea_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c5_low_h(i,:) = [South_Korea_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c5_high_h(i,:) = [South_Korea_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c6_low_l(i,:) = [South_Korea_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c6_high_l(i,:) = [South_Korea_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c6_low_h(i,:) = [South_Korea_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c6_high_h(i,:) = [South_Korea_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c7_low_l(i,:) = [South_Korea_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c7_high_l(i,:) = [South_Korea_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c7_low_h(i,:) = [South_Korea_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c7_high_h(i,:) = [South_Korea_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c89_low_l(i,:) = [South_Korea_energy_low(i,8)+South_Korea_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c89_high_l(i,:) = [South_Korea_energy_high(i,8)+South_Korea_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; South_Korea_c89_low_h(i,:) = [South_Korea_energy_low(i,8)+South_Korea_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; South_Korea_c89_high_h(i,:) = [South_Korea_energy_high(i,8)+South_Korea_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c4_low_l(i,:) = [Southeast_Asia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c4_high_l(i,:) = [Southeast_Asia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c4_low_h(i,:) = [Southeast_Asia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c4_high_h(i,:) = [Southeast_Asia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c5_low_l(i,:) = [Southeast_Asia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c5_high_l(i,:) = [Southeast_Asia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c5_low_h(i,:) = [Southeast_Asia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c5_high_h(i,:) = [Southeast_Asia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c6_low_l(i,:) = [Southeast_Asia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c6_high_l(i,:) = [Southeast_Asia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c6_low_h(i,:) = [Southeast_Asia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c6_high_h(i,:) = [Southeast_Asia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c7_low_l(i,:) = [Southeast_Asia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c7_high_l(i,:) = [Southeast_Asia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c7_low_h(i,:) = [Southeast_Asia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c7_high_h(i,:) = [Southeast_Asia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c89_low_l(i,:) = [Southeast_Asia_energy_low(i,8)+Southeast_Asia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c89_high_l(i,:) = [Southeast_Asia_energy_high(i,8)+Southeast_Asia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Southeast_Asia_c89_low_h(i,:) = [Southeast_Asia_energy_low(i,8)+Southeast_Asia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Southeast_Asia_c89_high_h(i,:) = [Southeast_Asia_energy_high(i,8)+Southeast_Asia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c4_low_l(i,:) = [Taiwan_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c4_high_l(i,:) = [Taiwan_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c4_low_h(i,:) = [Taiwan_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c4_high_h(i,:) = [Taiwan_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c5_low_l(i,:) = [Taiwan_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c5_high_l(i,:) = [Taiwan_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c5_low_h(i,:) = [Taiwan_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c5_high_h(i,:) = [Taiwan_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c6_low_l(i,:) = [Taiwan_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c6_high_l(i,:) = [Taiwan_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c6_low_h(i,:) = [Taiwan_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c6_high_h(i,:) = [Taiwan_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c7_low_l(i,:) = [Taiwan_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c7_high_l(i,:) = [Taiwan_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c7_low_h(i,:) = [Taiwan_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c7_high_h(i,:) = [Taiwan_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c89_low_l(i,:) = [Taiwan_energy_low(i,8)+Taiwan_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c89_high_l(i,:) = [Taiwan_energy_high(i,8)+Taiwan_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Taiwan_c89_low_h(i,:) = [Taiwan_energy_low(i,8)+Taiwan_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Taiwan_c89_high_h(i,:) = [Taiwan_energy_high(i,8)+Taiwan_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c4_low_l(i,:) = [Argentina_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c4_high_l(i,:) = [Argentina_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c4_low_h(i,:) = [Argentina_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c4_high_h(i,:) = [Argentina_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c5_low_l(i,:) = [Argentina_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c5_high_l(i,:) = [Argentina_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c5_low_h(i,:) = [Argentina_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c5_high_h(i,:) = [Argentina_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c6_low_l(i,:) = [Argentina_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c6_high_l(i,:) = [Argentina_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c6_low_h(i,:) = [Argentina_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c6_high_h(i,:) = [Argentina_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c7_low_l(i,:) = [Argentina_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c7_high_l(i,:) = [Argentina_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c7_low_h(i,:) = [Argentina_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c7_high_h(i,:) = [Argentina_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c89_low_l(i,:) = [Argentina_energy_low(i,8)+Argentina_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c89_high_l(i,:) = [Argentina_energy_high(i,8)+Argentina_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Argentina_c89_low_h(i,:) = [Argentina_energy_low(i,8)+Argentina_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Argentina_c89_high_h(i,:) = [Argentina_energy_high(i,8)+Argentina_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c4_low_l(i,:) = [Columbia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c4_high_l(i,:) = [Columbia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c4_low_h(i,:) = [Columbia_energy_low(i,4) lcoe_owec4_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c4_high_h(i,:) = [Columbia_energy_high(i,4) lcoe_owec4_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c5_low_l(i,:) = [Columbia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c5_high_l(i,:) = [Columbia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c5_low_h(i,:) = [Columbia_energy_low(i,5) lcoe_owec5_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c5_high_h(i,:) = [Columbia_energy_high(i,5) lcoe_owec5_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c6_low_l(i,:) = [Columbia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c6_high_l(i,:) = [Columbia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c6_low_h(i,:) = [Columbia_energy_low(i,6) lcoe_owec6_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c6_high_h(i,:) = [Columbia_energy_high(i,6) lcoe_owec6_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c7_low_l(i,:) = [Columbia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c7_high_l(i,:) = [Columbia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c7_low_h(i,:) = [Columbia_energy_low(i,7) lcoe_owec7_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c7_high_h(i,:) = [Columbia_energy_high(i,7) lcoe_owec7_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c89_low_l(i,:) = [Columbia_energy_low(i,8)+Columbia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c89_high_l(i,:) = [Columbia_energy_high(i,8)+Columbia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_low(2,i)),find(depth == global_low(1,i)))]; Columbia_c89_low_h(i,:) = [Columbia_energy_low(i,8)+Columbia_energy_low(i,9) lcoe_owec89_high_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; Columbia_c89_high_h(i,:) = [Columbia_energy_high(i,8)+Columbia_energy_high(i,9) lcoe_owec89_low_gcam(find(distance == global_high(2,i)),find(depth == global_high(1,i)))]; end CA_1_low_l_sort = sortrows(CA_1_low_l,2); CA_1_high_l_sort = sortrows(CA_1_high_l,2); CA_1_low_h_sort = sortrows(CA_1_low_h,2); CA_1_high_h_sort = sortrows(CA_1_high_h,2); CA_2_low_l_sort = sortrows(CA_2_low_l,2); CA_2_high_l_sort = sortrows(CA_2_high_l,2); CA_2_low_h_sort = sortrows(CA_2_low_h,2); CA_2_high_h_sort = sortrows(CA_2_high_h,2); CA_3_low_l_sort = sortrows(CA_3_low_l,2); CA_3_high_l_sort = sortrows(CA_3_high_l,2); CA_3_low_h_sort = sortrows(CA_3_low_h,2); CA_3_high_h_sort = sortrows(CA_3_high_h,2); CA_4_low_l_sort = sortrows(CA_4_low_l,2); CA_4_high_l_sort = sortrows(CA_4_high_l,2); CA_4_low_h_sort = sortrows(CA_4_low_h,2); CA_4_high_h_sort = sortrows(CA_4_high_h,2); CA_5_low_l_sort = sortrows(CA_5_low_l,2); CA_5_high_l_sort = sortrows(CA_5_high_l,2); CA_5_low_h_sort = sortrows(CA_5_low_h,2); CA_5_high_h_sort = sortrows(CA_5_high_h,2); CA_6_low_l_sort = sortrows(CA_6_low_l,2); CA_6_high_l_sort = sortrows(CA_6_high_l,2); CA_6_low_h_sort = sortrows(CA_6_low_h,2); CA_6_high_h_sort = sortrows(CA_6_high_h,2); CA_7_low_l_sort = sortrows(CA_7_low_l,2); CA_7_high_l_sort = sortrows(CA_7_high_l,2); CA_7_low_h_sort = sortrows(CA_7_low_h,2); CA_7_high_h_sort = sortrows(CA_7_high_h,2); CT_1_low_l_sort = sortrows(CT_1_low_l,2); CT_1_high_l_sort = sortrows(CT_1_high_l,2); CT_1_low_h_sort = sortrows(CT_1_low_h,2); CT_1_high_h_sort = sortrows(CT_1_high_h,2); CT_2_low_l_sort = sortrows(CT_2_low_l,2); CT_2_high_l_sort = sortrows(CT_2_high_l,2); CT_2_low_h_sort = sortrows(CT_2_low_h,2); CT_2_high_h_sort = sortrows(CT_2_high_h,2); CT_3_low_l_sort = sortrows(CT_3_low_l,2); CT_3_high_l_sort = sortrows(CT_3_high_l,2); CT_3_low_h_sort = sortrows(CT_3_low_h,2); CT_3_high_h_sort = sortrows(CT_3_high_h,2); CT_4_low_l_sort = sortrows(CT_4_low_l,2); CT_4_high_l_sort = sortrows(CT_4_high_l,2); CT_4_low_h_sort = sortrows(CT_4_low_h,2); CT_4_high_h_sort = sortrows(CT_4_high_h,2); CT_5_low_l_sort = sortrows(CT_5_low_l,2); CT_5_high_l_sort = sortrows(CT_5_high_l,2); CT_5_low_h_sort = sortrows(CT_5_low_h,2); CT_5_high_h_sort = sortrows(CT_5_high_h,2); CT_6_low_l_sort = sortrows(CT_6_low_l,2); CT_6_high_l_sort = sortrows(CT_6_high_l,2); CT_6_low_h_sort = sortrows(CT_6_low_h,2); CT_6_high_h_sort = sortrows(CT_6_high_h,2); CT_7_low_l_sort = sortrows(CT_7_low_l,2); CT_7_high_l_sort = sortrows(CT_7_high_l,2); CT_7_low_h_sort = sortrows(CT_7_low_h,2); CT_7_high_h_sort = sortrows(CT_7_high_h,2); DE_1_low_l_sort = sortrows(DE_1_low_l,2); DE_1_high_l_sort = sortrows(DE_1_high_l,2); DE_1_low_h_sort = sortrows(DE_1_low_h,2); DE_1_high_h_sort = sortrows(DE_1_high_h,2); DE_2_low_l_sort = sortrows(DE_2_low_l,2); DE_2_high_l_sort = sortrows(DE_2_high_l,2); DE_2_low_h_sort = sortrows(DE_2_low_h,2); DE_2_high_h_sort = sortrows(DE_2_high_h,2); DE_3_low_l_sort = sortrows(DE_3_low_l,2); DE_3_high_l_sort = sortrows(DE_3_high_l,2); DE_3_low_h_sort = sortrows(DE_3_low_h,2); DE_3_high_h_sort = sortrows(DE_3_high_h,2); DE_4_low_l_sort = sortrows(DE_4_low_l,2); DE_4_high_l_sort = sortrows(DE_4_high_l,2); DE_4_low_h_sort = sortrows(DE_4_low_h,2); DE_4_high_h_sort = sortrows(DE_4_high_h,2); DE_5_low_l_sort = sortrows(DE_5_low_l,2); DE_5_high_l_sort = sortrows(DE_5_high_l,2); DE_5_low_h_sort = sortrows(DE_5_low_h,2); DE_5_high_h_sort = sortrows(DE_5_high_h,2); DE_6_low_l_sort = sortrows(DE_6_low_l,2); DE_6_high_l_sort = sortrows(DE_6_high_l,2); DE_6_low_h_sort = sortrows(DE_6_low_h,2); DE_6_high_h_sort = sortrows(DE_6_high_h,2); DE_7_low_l_sort = sortrows(DE_7_low_l,2); DE_7_high_l_sort = sortrows(DE_7_high_l,2); DE_7_low_h_sort = sortrows(DE_7_low_h,2); DE_7_high_h_sort = sortrows(DE_7_high_h,2); GA_1_low_l_sort = sortrows(GA_1_low_l,2); GA_1_high_l_sort = sortrows(GA_1_high_l,2); GA_1_low_h_sort = sortrows(GA_1_low_h,2); GA_1_high_h_sort = sortrows(GA_1_high_h,2); GA_2_low_l_sort = sortrows(GA_2_low_l,2); GA_2_high_l_sort = sortrows(GA_2_high_l,2); GA_2_low_h_sort = sortrows(GA_2_low_h,2); GA_2_high_h_sort = sortrows(GA_2_high_h,2); GA_3_low_l_sort = sortrows(GA_3_low_l,2); GA_3_high_l_sort = sortrows(GA_3_high_l,2); GA_3_low_h_sort = sortrows(GA_3_low_h,2); GA_3_high_h_sort = sortrows(GA_3_high_h,2); GA_4_low_l_sort = sortrows(GA_4_low_l,2); GA_4_high_l_sort = sortrows(GA_4_high_l,2); GA_4_low_h_sort = sortrows(GA_4_low_h,2); GA_4_high_h_sort = sortrows(GA_4_high_h,2); GA_5_low_l_sort = sortrows(GA_5_low_l,2); GA_5_high_l_sort = sortrows(GA_5_high_l,2); GA_5_low_h_sort = sortrows(GA_5_low_h,2); GA_5_high_h_sort = sortrows(GA_5_high_h,2); GA_6_low_l_sort = sortrows(GA_6_low_l,2); GA_6_high_l_sort = sortrows(GA_6_high_l,2); GA_6_low_h_sort = sortrows(GA_6_low_h,2); GA_6_high_h_sort = sortrows(GA_6_high_h,2); GA_7_low_l_sort = sortrows(GA_7_low_l,2); GA_7_high_l_sort = sortrows(GA_7_high_l,2); GA_7_low_h_sort = sortrows(GA_7_low_h,2); GA_7_high_h_sort = sortrows(GA_7_high_h,2); HI_1_low_l_sort = sortrows(HI_1_low_l,2); HI_1_high_l_sort = sortrows(HI_1_high_l,2); HI_1_low_h_sort = sortrows(HI_1_low_h,2); HI_1_high_h_sort = sortrows(HI_1_high_h,2); HI_2_low_l_sort = sortrows(HI_2_low_l,2); HI_2_high_l_sort = sortrows(HI_2_high_l,2); HI_2_low_h_sort = sortrows(HI_2_low_h,2); HI_2_high_h_sort = sortrows(HI_2_high_h,2); HI_3_low_l_sort = sortrows(HI_3_low_l,2); HI_3_high_l_sort = sortrows(HI_3_high_l,2); HI_3_low_h_sort = sortrows(HI_3_low_h,2); HI_3_high_h_sort = sortrows(HI_3_high_h,2); HI_4_low_l_sort = sortrows(HI_4_low_l,2); HI_4_high_l_sort = sortrows(HI_4_high_l,2); HI_4_low_h_sort = sortrows(HI_4_low_h,2); HI_4_high_h_sort = sortrows(HI_4_high_h,2); HI_5_low_l_sort = sortrows(HI_5_low_l,2); HI_5_high_l_sort = sortrows(HI_5_high_l,2); HI_5_low_h_sort = sortrows(HI_5_low_h,2); HI_5_high_h_sort = sortrows(HI_5_high_h,2); HI_6_low_l_sort = sortrows(HI_6_low_l,2); HI_6_high_l_sort = sortrows(HI_6_high_l,2); HI_6_low_h_sort = sortrows(HI_6_low_h,2); HI_6_high_h_sort = sortrows(HI_6_high_h,2); HI_7_low_l_sort = sortrows(HI_7_low_l,2); HI_7_high_l_sort = sortrows(HI_7_high_l,2); HI_7_low_h_sort = sortrows(HI_7_low_h,2); HI_7_high_h_sort = sortrows(HI_7_high_h,2); IL_1_low_l_sort = sortrows(IL_1_low_l,2); IL_1_high_l_sort = sortrows(IL_1_high_l,2); IL_1_low_h_sort = sortrows(IL_1_low_h,2); IL_1_high_h_sort = sortrows(IL_1_high_h,2); IL_2_low_l_sort = sortrows(IL_2_low_l,2); IL_2_high_l_sort = sortrows(IL_2_high_l,2); IL_2_low_h_sort = sortrows(IL_2_low_h,2); IL_2_high_h_sort = sortrows(IL_2_high_h,2); IL_3_low_l_sort = sortrows(IL_3_low_l,2); IL_3_high_l_sort = sortrows(IL_3_high_l,2); IL_3_low_h_sort = sortrows(IL_3_low_h,2); IL_3_high_h_sort = sortrows(IL_3_high_h,2); IL_4_low_l_sort = sortrows(IL_4_low_l,2); IL_4_high_l_sort = sortrows(IL_4_high_l,2); IL_4_low_h_sort = sortrows(IL_4_low_h,2); IL_4_high_h_sort = sortrows(IL_4_high_h,2); IL_5_low_l_sort = sortrows(IL_5_low_l,2); IL_5_high_l_sort = sortrows(IL_5_high_l,2); IL_5_low_h_sort = sortrows(IL_5_low_h,2); IL_5_high_h_sort = sortrows(IL_5_high_h,2); IL_6_low_l_sort = sortrows(IL_6_low_l,2); IL_6_high_l_sort = sortrows(IL_6_high_l,2); IL_6_low_h_sort = sortrows(IL_6_low_h,2); IL_6_high_h_sort = sortrows(IL_6_high_h,2); IL_7_low_l_sort = sortrows(IL_7_low_l,2); IL_7_high_l_sort = sortrows(IL_7_high_l,2); IL_7_low_h_sort = sortrows(IL_7_low_h,2); IL_7_high_h_sort = sortrows(IL_7_high_h,2); IN_1_low_l_sort = sortrows(IN_1_low_l,2); IN_1_high_l_sort = sortrows(IN_1_high_l,2); IN_1_low_h_sort = sortrows(IN_1_low_h,2); IN_1_high_h_sort = sortrows(IN_1_high_h,2); IN_2_low_l_sort = sortrows(IN_2_low_l,2); IN_2_high_l_sort = sortrows(IN_2_high_l,2); IN_2_low_h_sort = sortrows(IN_2_low_h,2); IN_2_high_h_sort = sortrows(IN_2_high_h,2); IN_3_low_l_sort = sortrows(IN_3_low_l,2); IN_3_high_l_sort = sortrows(IN_3_high_l,2); IN_3_low_h_sort = sortrows(IN_3_low_h,2); IN_3_high_h_sort = sortrows(IN_3_high_h,2); IN_4_low_l_sort = sortrows(IN_4_low_l,2); IN_4_high_l_sort = sortrows(IN_4_high_l,2); IN_4_low_h_sort = sortrows(IN_4_low_h,2); IN_4_high_h_sort = sortrows(IN_4_high_h,2); IN_5_low_l_sort = sortrows(IN_5_low_l,2); IN_5_high_l_sort = sortrows(IN_5_high_l,2); IN_5_low_h_sort = sortrows(IN_5_low_h,2); IN_5_high_h_sort = sortrows(IN_5_high_h,2); IN_6_low_l_sort = sortrows(IN_6_low_l,2); IN_6_high_l_sort = sortrows(IN_6_high_l,2); IN_6_low_h_sort = sortrows(IN_6_low_h,2); IN_6_high_h_sort = sortrows(IN_6_high_h,2); IN_7_low_l_sort = sortrows(IN_7_low_l,2); IN_7_high_l_sort = sortrows(IN_7_high_l,2); IN_7_low_h_sort = sortrows(IN_7_low_h,2); IN_7_high_h_sort = sortrows(IN_7_high_h,2); LA_1_low_l_sort = sortrows(LA_1_low_l,2); LA_1_high_l_sort = sortrows(LA_1_high_l,2); LA_1_low_h_sort = sortrows(LA_1_low_h,2); LA_1_high_h_sort = sortrows(LA_1_high_h,2); LA_2_low_l_sort = sortrows(LA_2_low_l,2); LA_2_high_l_sort = sortrows(LA_2_high_l,2); LA_2_low_h_sort = sortrows(LA_2_low_h,2); LA_2_high_h_sort = sortrows(LA_2_high_h,2); LA_3_low_l_sort = sortrows(LA_3_low_l,2); LA_3_high_l_sort = sortrows(LA_3_high_l,2); LA_3_low_h_sort = sortrows(LA_3_low_h,2); LA_3_high_h_sort = sortrows(LA_3_high_h,2); LA_4_low_l_sort = sortrows(LA_4_low_l,2); LA_4_high_l_sort = sortrows(LA_4_high_l,2); LA_4_low_h_sort = sortrows(LA_4_low_h,2); LA_4_high_h_sort = sortrows(LA_4_high_h,2); LA_5_low_l_sort = sortrows(LA_5_low_l,2); LA_5_high_l_sort = sortrows(LA_5_high_l,2); LA_5_low_h_sort = sortrows(LA_5_low_h,2); LA_5_high_h_sort = sortrows(LA_5_high_h,2); LA_6_low_l_sort = sortrows(LA_6_low_l,2); LA_6_high_l_sort = sortrows(LA_6_high_l,2); LA_6_low_h_sort = sortrows(LA_6_low_h,2); LA_6_high_h_sort = sortrows(LA_6_high_h,2); LA_7_low_l_sort = sortrows(LA_7_low_l,2); LA_7_high_l_sort = sortrows(LA_7_high_l,2); LA_7_low_h_sort = sortrows(LA_7_low_h,2); LA_7_high_h_sort = sortrows(LA_7_high_h,2); ME_1_low_l_sort = sortrows(ME_1_low_l,2); ME_1_high_l_sort = sortrows(ME_1_high_l,2); ME_1_low_h_sort = sortrows(ME_1_low_h,2); ME_1_high_h_sort = sortrows(ME_1_high_h,2); ME_2_low_l_sort = sortrows(ME_2_low_l,2); ME_2_high_l_sort = sortrows(ME_2_high_l,2); ME_2_low_h_sort = sortrows(ME_2_low_h,2); ME_2_high_h_sort = sortrows(ME_2_high_h,2); ME_3_low_l_sort = sortrows(ME_3_low_l,2); ME_3_high_l_sort = sortrows(ME_3_high_l,2); ME_3_low_h_sort = sortrows(ME_3_low_h,2); ME_3_high_h_sort = sortrows(ME_3_high_h,2); ME_4_low_l_sort = sortrows(ME_4_low_l,2); ME_4_high_l_sort = sortrows(ME_4_high_l,2); ME_4_low_h_sort = sortrows(ME_4_low_h,2); ME_4_high_h_sort = sortrows(ME_4_high_h,2); ME_5_low_l_sort = sortrows(ME_5_low_l,2); ME_5_high_l_sort = sortrows(ME_5_high_l,2); ME_5_low_h_sort = sortrows(ME_5_low_h,2); ME_5_high_h_sort = sortrows(ME_5_high_h,2); ME_6_low_l_sort = sortrows(ME_6_low_l,2); ME_6_high_l_sort = sortrows(ME_6_high_l,2); ME_6_low_h_sort = sortrows(ME_6_low_h,2); ME_6_high_h_sort = sortrows(ME_6_high_h,2); ME_7_low_l_sort = sortrows(ME_7_low_l,2); ME_7_high_l_sort = sortrows(ME_7_high_l,2); ME_7_low_h_sort = sortrows(ME_7_low_h,2); ME_7_high_h_sort = sortrows(ME_7_high_h,2); MA_1_low_l_sort = sortrows(MA_1_low_l,2); MA_1_high_l_sort = sortrows(MA_1_high_l,2); MA_1_low_h_sort = sortrows(MA_1_low_h,2); MA_1_high_h_sort = sortrows(MA_1_high_h,2); MA_2_low_l_sort = sortrows(MA_2_low_l,2); MA_2_high_l_sort = sortrows(MA_2_high_l,2); MA_2_low_h_sort = sortrows(MA_2_low_h,2); MA_2_high_h_sort = sortrows(MA_2_high_h,2); MA_3_low_l_sort = sortrows(MA_3_low_l,2); MA_3_high_l_sort = sortrows(MA_3_high_l,2); MA_3_low_h_sort = sortrows(MA_3_low_h,2); MA_3_high_h_sort = sortrows(MA_3_high_h,2); MA_4_low_l_sort = sortrows(MA_4_low_l,2); MA_4_high_l_sort = sortrows(MA_4_high_l,2); MA_4_low_h_sort = sortrows(MA_4_low_h,2); MA_4_high_h_sort = sortrows(MA_4_high_h,2); MA_5_low_l_sort = sortrows(MA_5_low_l,2); MA_5_high_l_sort = sortrows(MA_5_high_l,2); MA_5_low_h_sort = sortrows(MA_5_low_h,2); MA_5_high_h_sort = sortrows(MA_5_high_h,2); MA_6_low_l_sort = sortrows(MA_6_low_l,2); MA_6_high_l_sort = sortrows(MA_6_high_l,2); MA_6_low_h_sort = sortrows(MA_6_low_h,2); MA_6_high_h_sort = sortrows(MA_6_high_h,2); MA_7_low_l_sort = sortrows(MA_7_low_l,2); MA_7_high_l_sort = sortrows(MA_7_high_l,2); MA_7_low_h_sort = sortrows(MA_7_low_h,2); MA_7_high_h_sort = sortrows(MA_7_high_h,2); MD_1_low_l_sort = sortrows(MD_1_low_l,2); MD_1_high_l_sort = sortrows(MD_1_high_l,2); MD_1_low_h_sort = sortrows(MD_1_low_h,2); MD_1_high_h_sort = sortrows(MD_1_high_h,2); MD_2_low_l_sort = sortrows(MD_2_low_l,2); MD_2_high_l_sort = sortrows(MD_2_high_l,2); MD_2_low_h_sort = sortrows(MD_2_low_h,2); MD_2_high_h_sort = sortrows(MD_2_high_h,2); MD_3_low_l_sort = sortrows(MD_3_low_l,2); MD_3_high_l_sort = sortrows(MD_3_high_l,2); MD_3_low_h_sort = sortrows(MD_3_low_h,2); MD_3_high_h_sort = sortrows(MD_3_high_h,2); MD_4_low_l_sort = sortrows(MD_4_low_l,2); MD_4_high_l_sort = sortrows(MD_4_high_l,2); MD_4_low_h_sort = sortrows(MD_4_low_h,2); MD_4_high_h_sort = sortrows(MD_4_high_h,2); MD_5_low_l_sort = sortrows(MD_5_low_l,2); MD_5_high_l_sort = sortrows(MD_5_high_l,2); MD_5_low_h_sort = sortrows(MD_5_low_h,2); MD_5_high_h_sort = sortrows(MD_5_high_h,2); MD_6_low_l_sort = sortrows(MD_6_low_l,2); MD_6_high_l_sort = sortrows(MD_6_high_l,2); MD_6_low_h_sort = sortrows(MD_6_low_h,2); MD_6_high_h_sort = sortrows(MD_6_high_h,2); MD_7_low_l_sort = sortrows(MD_7_low_l,2); MD_7_high_l_sort = sortrows(MD_7_high_l,2); MD_7_low_h_sort = sortrows(MD_7_low_h,2); MD_7_high_h_sort = sortrows(MD_7_high_h,2); MI_1_low_l_sort = sortrows(MI_1_low_l,2); MI_1_high_l_sort = sortrows(MI_1_high_l,2); MI_1_low_h_sort = sortrows(MI_1_low_h,2); MI_1_high_h_sort = sortrows(MI_1_high_h,2); MI_2_low_l_sort = sortrows(MI_2_low_l,2); MI_2_high_l_sort = sortrows(MI_2_high_l,2); MI_2_low_h_sort = sortrows(MI_2_low_h,2); MI_2_high_h_sort = sortrows(MI_2_high_h,2); MI_3_low_l_sort = sortrows(MI_3_low_l,2); MI_3_high_l_sort = sortrows(MI_3_high_l,2); MI_3_low_h_sort = sortrows(MI_3_low_h,2); MI_3_high_h_sort = sortrows(MI_3_high_h,2); MI_4_low_l_sort = sortrows(MI_4_low_l,2); MI_4_high_l_sort = sortrows(MI_4_high_l,2); MI_4_low_h_sort = sortrows(MI_4_low_h,2); MI_4_high_h_sort = sortrows(MI_4_high_h,2); MI_5_low_l_sort = sortrows(MI_5_low_l,2); MI_5_high_l_sort = sortrows(MI_5_high_l,2); MI_5_low_h_sort = sortrows(MI_5_low_h,2); MI_5_high_h_sort = sortrows(MI_5_high_h,2); MI_6_low_l_sort = sortrows(MI_6_low_l,2); MI_6_high_l_sort = sortrows(MI_6_high_l,2); MI_6_low_h_sort = sortrows(MI_6_low_h,2); MI_6_high_h_sort = sortrows(MI_6_high_h,2); MI_7_low_l_sort = sortrows(MI_7_low_l,2); MI_7_high_l_sort = sortrows(MI_7_high_l,2); MI_7_low_h_sort = sortrows(MI_7_low_h,2); MI_7_high_h_sort = sortrows(MI_7_high_h,2); MN_1_low_l_sort = sortrows(MN_1_low_l,2); MN_1_high_l_sort = sortrows(MN_1_high_l,2); MN_1_low_h_sort = sortrows(MN_1_low_h,2); MN_1_high_h_sort = sortrows(MN_1_high_h,2); MN_2_low_l_sort = sortrows(MN_2_low_l,2); MN_2_high_l_sort = sortrows(MN_2_high_l,2); MN_2_low_h_sort = sortrows(MN_2_low_h,2); MN_2_high_h_sort = sortrows(MN_2_high_h,2); MN_3_low_l_sort = sortrows(MN_3_low_l,2); MN_3_high_l_sort = sortrows(MN_3_high_l,2); MN_3_low_h_sort = sortrows(MN_3_low_h,2); MN_3_high_h_sort = sortrows(MN_3_high_h,2); MN_4_low_l_sort = sortrows(MN_4_low_l,2); MN_4_high_l_sort = sortrows(MN_4_high_l,2); MN_4_low_h_sort = sortrows(MN_4_low_h,2); MN_4_high_h_sort = sortrows(MN_4_high_h,2); MN_5_low_l_sort = sortrows(MN_5_low_l,2); MN_5_high_l_sort = sortrows(MN_5_high_l,2); MN_5_low_h_sort = sortrows(MN_5_low_h,2); MN_5_high_h_sort = sortrows(MN_5_high_h,2); MN_6_low_l_sort = sortrows(MN_6_low_l,2); MN_6_high_l_sort = sortrows(MN_6_high_l,2); MN_6_low_h_sort = sortrows(MN_6_low_h,2); MN_6_high_h_sort = sortrows(MN_6_high_h,2); MN_7_low_l_sort = sortrows(MN_7_low_l,2); MN_7_high_l_sort = sortrows(MN_7_high_l,2); MN_7_low_h_sort = sortrows(MN_7_low_h,2); MN_7_high_h_sort = sortrows(MN_7_high_h,2); NH_1_low_l_sort = sortrows(NH_1_low_l,2); NH_1_high_l_sort = sortrows(NH_1_high_l,2); NH_1_low_h_sort = sortrows(NH_1_low_h,2); NH_1_high_h_sort = sortrows(NH_1_high_h,2); NH_2_low_l_sort = sortrows(NH_2_low_l,2); NH_2_high_l_sort = sortrows(NH_2_high_l,2); NH_2_low_h_sort = sortrows(NH_2_low_h,2); NH_2_high_h_sort = sortrows(NH_2_high_h,2); NH_3_low_l_sort = sortrows(NH_3_low_l,2); NH_3_high_l_sort = sortrows(NH_3_high_l,2); NH_3_low_h_sort = sortrows(NH_3_low_h,2); NH_3_high_h_sort = sortrows(NH_3_high_h,2); NH_4_low_l_sort = sortrows(NH_4_low_l,2); NH_4_high_l_sort = sortrows(NH_4_high_l,2); NH_4_low_h_sort = sortrows(NH_4_low_h,2); NH_4_high_h_sort = sortrows(NH_4_high_h,2); NH_5_low_l_sort = sortrows(NH_5_low_l,2); NH_5_high_l_sort = sortrows(NH_5_high_l,2); NH_5_low_h_sort = sortrows(NH_5_low_h,2); NH_5_high_h_sort = sortrows(NH_5_high_h,2); NH_6_low_l_sort = sortrows(NH_6_low_l,2); NH_6_high_l_sort = sortrows(NH_6_high_l,2); NH_6_low_h_sort = sortrows(NH_6_low_h,2); NH_6_high_h_sort = sortrows(NH_6_high_h,2); NH_7_low_l_sort = sortrows(NH_7_low_l,2); NH_7_high_l_sort = sortrows(NH_7_high_l,2); NH_7_low_h_sort = sortrows(NH_7_low_h,2); NH_7_high_h_sort = sortrows(NH_7_high_h,2); NJ_1_low_l_sort = sortrows(NJ_1_low_l,2); NJ_1_high_l_sort = sortrows(NJ_1_high_l,2); NJ_1_low_h_sort = sortrows(NJ_1_low_h,2); NJ_1_high_h_sort = sortrows(NJ_1_high_h,2); NJ_2_low_l_sort = sortrows(NJ_2_low_l,2); NJ_2_high_l_sort = sortrows(NJ_2_high_l,2); NJ_2_low_h_sort = sortrows(NJ_2_low_h,2); NJ_2_high_h_sort = sortrows(NJ_2_high_h,2); NJ_3_low_l_sort = sortrows(NJ_3_low_l,2); NJ_3_high_l_sort = sortrows(NJ_3_high_l,2); NJ_3_low_h_sort = sortrows(NJ_3_low_h,2); NJ_3_high_h_sort = sortrows(NJ_3_high_h,2); NJ_4_low_l_sort = sortrows(NJ_4_low_l,2); NJ_4_high_l_sort = sortrows(NJ_4_high_l,2); NJ_4_low_h_sort = sortrows(NJ_4_low_h,2); NJ_4_high_h_sort = sortrows(NJ_4_high_h,2); NJ_5_low_l_sort = sortrows(NJ_5_low_l,2); NJ_5_high_l_sort = sortrows(NJ_5_high_l,2); NJ_5_low_h_sort = sortrows(NJ_5_low_h,2); NJ_5_high_h_sort = sortrows(NJ_5_high_h,2); NJ_6_low_l_sort = sortrows(NJ_6_low_l,2); NJ_6_high_l_sort = sortrows(NJ_6_high_l,2); NJ_6_low_h_sort = sortrows(NJ_6_low_h,2); NJ_6_high_h_sort = sortrows(NJ_6_high_h,2); NJ_7_low_l_sort = sortrows(NJ_7_low_l,2); NJ_7_high_l_sort = sortrows(NJ_7_high_l,2); NJ_7_low_h_sort = sortrows(NJ_7_low_h,2); NJ_7_high_h_sort = sortrows(NJ_7_high_h,2); NY_1_low_l_sort = sortrows(NY_1_low_l,2); NY_1_high_l_sort = sortrows(NY_1_high_l,2); NY_1_low_h_sort = sortrows(NY_1_low_h,2); NY_1_high_h_sort = sortrows(NY_1_high_h,2); NY_2_low_l_sort = sortrows(NY_2_low_l,2); NY_2_high_l_sort = sortrows(NY_2_high_l,2); NY_2_low_h_sort = sortrows(NY_2_low_h,2); NY_2_high_h_sort = sortrows(NY_2_high_h,2); NY_3_low_l_sort = sortrows(NY_3_low_l,2); NY_3_high_l_sort = sortrows(NY_3_high_l,2); NY_3_low_h_sort = sortrows(NY_3_low_h,2); NY_3_high_h_sort = sortrows(NY_3_high_h,2); NY_4_low_l_sort = sortrows(NY_4_low_l,2); NY_4_high_l_sort = sortrows(NY_4_high_l,2); NY_4_low_h_sort = sortrows(NY_4_low_h,2); NY_4_high_h_sort = sortrows(NY_4_high_h,2); NY_5_low_l_sort = sortrows(NY_5_low_l,2); NY_5_high_l_sort = sortrows(NY_5_high_l,2); NY_5_low_h_sort = sortrows(NY_5_low_h,2); NY_5_high_h_sort = sortrows(NY_5_high_h,2); NY_6_low_l_sort = sortrows(NY_6_low_l,2); NY_6_high_l_sort = sortrows(NY_6_high_l,2); NY_6_low_h_sort = sortrows(NY_6_low_h,2); NY_6_high_h_sort = sortrows(NY_6_high_h,2); NY_7_low_l_sort = sortrows(NY_7_low_l,2); NY_7_high_l_sort = sortrows(NY_7_high_l,2); NY_7_low_h_sort = sortrows(NY_7_low_h,2); NY_7_high_h_sort = sortrows(NY_7_high_h,2); NC_1_low_l_sort = sortrows(NC_1_low_l,2); NC_1_high_l_sort = sortrows(NC_1_high_l,2); NC_1_low_h_sort = sortrows(NC_1_low_h,2); NC_1_high_h_sort = sortrows(NC_1_high_h,2); NC_2_low_l_sort = sortrows(NC_2_low_l,2); NC_2_high_l_sort = sortrows(NC_2_high_l,2); NC_2_low_h_sort = sortrows(NC_2_low_h,2); NC_2_high_h_sort = sortrows(NC_2_high_h,2); NC_3_low_l_sort = sortrows(NC_3_low_l,2); NC_3_high_l_sort = sortrows(NC_3_high_l,2); NC_3_low_h_sort = sortrows(NC_3_low_h,2); NC_3_high_h_sort = sortrows(NC_3_high_h,2); NC_4_low_l_sort = sortrows(NC_4_low_l,2); NC_4_high_l_sort = sortrows(NC_4_high_l,2); NC_4_low_h_sort = sortrows(NC_4_low_h,2); NC_4_high_h_sort = sortrows(NC_4_high_h,2); NC_5_low_l_sort = sortrows(NC_5_low_l,2); NC_5_high_l_sort = sortrows(NC_5_high_l,2); NC_5_low_h_sort = sortrows(NC_5_low_h,2); NC_5_high_h_sort = sortrows(NC_5_high_h,2); NC_6_low_l_sort = sortrows(NC_6_low_l,2); NC_6_high_l_sort = sortrows(NC_6_high_l,2); NC_6_low_h_sort = sortrows(NC_6_low_h,2); NC_6_high_h_sort = sortrows(NC_6_high_h,2); NC_7_low_l_sort = sortrows(NC_7_low_l,2); NC_7_high_l_sort = sortrows(NC_7_high_l,2); NC_7_low_h_sort = sortrows(NC_7_low_h,2); NC_7_high_h_sort = sortrows(NC_7_high_h,2); OH_1_low_l_sort = sortrows(OH_1_low_l,2); OH_1_high_l_sort = sortrows(OH_1_high_l,2); OH_1_low_h_sort = sortrows(OH_1_low_h,2); OH_1_high_h_sort = sortrows(OH_1_high_h,2); OH_2_low_l_sort = sortrows(OH_2_low_l,2); OH_2_high_l_sort = sortrows(OH_2_high_l,2); OH_2_low_h_sort = sortrows(OH_2_low_h,2); OH_2_high_h_sort = sortrows(OH_2_high_h,2); OH_3_low_l_sort = sortrows(OH_3_low_l,2); OH_3_high_l_sort = sortrows(OH_3_high_l,2); OH_3_low_h_sort = sortrows(OH_3_low_h,2); OH_3_high_h_sort = sortrows(OH_3_high_h,2); OH_4_low_l_sort = sortrows(OH_4_low_l,2); OH_4_high_l_sort = sortrows(OH_4_high_l,2); OH_4_low_h_sort = sortrows(OH_4_low_h,2); OH_4_high_h_sort = sortrows(OH_4_high_h,2); OH_5_low_l_sort = sortrows(OH_5_low_l,2); OH_5_high_l_sort = sortrows(OH_5_high_l,2); OH_5_low_h_sort = sortrows(OH_5_low_h,2); OH_5_high_h_sort = sortrows(OH_5_high_h,2); OH_6_low_l_sort = sortrows(OH_6_low_l,2); OH_6_high_l_sort = sortrows(OH_6_high_l,2); OH_6_low_h_sort = sortrows(OH_6_low_h,2); OH_6_high_h_sort = sortrows(OH_6_high_h,2); OH_7_low_l_sort = sortrows(OH_7_low_l,2); OH_7_high_l_sort = sortrows(OH_7_high_l,2); OH_7_low_h_sort = sortrows(OH_7_low_h,2); OH_7_high_h_sort = sortrows(OH_7_high_h,2); OR_1_low_l_sort = sortrows(OR_1_low_l,2); OR_1_high_l_sort = sortrows(OR_1_high_l,2); OR_1_low_h_sort = sortrows(OR_1_low_h,2); OR_1_high_h_sort = sortrows(OR_1_high_h,2); OR_2_low_l_sort = sortrows(OR_2_low_l,2); OR_2_high_l_sort = sortrows(OR_2_high_l,2); OR_2_low_h_sort = sortrows(OR_2_low_h,2); OR_2_high_h_sort = sortrows(OR_2_high_h,2); OR_3_low_l_sort = sortrows(OR_3_low_l,2); OR_3_high_l_sort = sortrows(OR_3_high_l,2); OR_3_low_h_sort = sortrows(OR_3_low_h,2); OR_3_high_h_sort = sortrows(OR_3_high_h,2); OR_4_low_l_sort = sortrows(OR_4_low_l,2); OR_4_high_l_sort = sortrows(OR_4_high_l,2); OR_4_low_h_sort = sortrows(OR_4_low_h,2); OR_4_high_h_sort = sortrows(OR_4_high_h,2); OR_5_low_l_sort = sortrows(OR_5_low_l,2); OR_5_high_l_sort = sortrows(OR_5_high_l,2); OR_5_low_h_sort = sortrows(OR_5_low_h,2); OR_5_high_h_sort = sortrows(OR_5_high_h,2); OR_6_low_l_sort = sortrows(OR_6_low_l,2); OR_6_high_l_sort = sortrows(OR_6_high_l,2); OR_6_low_h_sort = sortrows(OR_6_low_h,2); OR_6_high_h_sort = sortrows(OR_6_high_h,2); OR_7_low_l_sort = sortrows(OR_7_low_l,2); OR_7_high_l_sort = sortrows(OR_7_high_l,2); OR_7_low_h_sort = sortrows(OR_7_low_h,2); OR_7_high_h_sort = sortrows(OR_7_high_h,2); PA_1_low_l_sort = sortrows(PA_1_low_l,2); PA_1_high_l_sort = sortrows(PA_1_high_l,2); PA_1_low_h_sort = sortrows(PA_1_low_h,2); PA_1_high_h_sort = sortrows(PA_1_high_h,2); PA_2_low_l_sort = sortrows(PA_2_low_l,2); PA_2_high_l_sort = sortrows(PA_2_high_l,2); PA_2_low_h_sort = sortrows(PA_2_low_h,2); PA_2_high_h_sort = sortrows(PA_2_high_h,2); PA_3_low_l_sort = sortrows(PA_3_low_l,2); PA_3_high_l_sort = sortrows(PA_3_high_l,2); PA_3_low_h_sort = sortrows(PA_3_low_h,2); PA_3_high_h_sort = sortrows(PA_3_high_h,2); PA_4_low_l_sort = sortrows(PA_4_low_l,2); PA_4_high_l_sort = sortrows(PA_4_high_l,2); PA_4_low_h_sort = sortrows(PA_4_low_h,2); PA_4_high_h_sort = sortrows(PA_4_high_h,2); PA_5_low_l_sort = sortrows(PA_5_low_l,2); PA_5_high_l_sort = sortrows(PA_5_high_l,2); PA_5_low_h_sort = sortrows(PA_5_low_h,2); PA_5_high_h_sort = sortrows(PA_5_high_h,2); PA_6_low_l_sort = sortrows(PA_6_low_l,2); PA_6_high_l_sort = sortrows(PA_6_high_l,2); PA_6_low_h_sort = sortrows(PA_6_low_h,2); PA_6_high_h_sort = sortrows(PA_6_high_h,2); PA_7_low_l_sort = sortrows(PA_7_low_l,2); PA_7_high_l_sort = sortrows(PA_7_high_l,2); PA_7_low_h_sort = sortrows(PA_7_low_h,2); PA_7_high_h_sort = sortrows(PA_7_high_h,2); RI_1_low_l_sort = sortrows(RI_1_low_l,2); RI_1_high_l_sort = sortrows(RI_1_high_l,2); RI_1_low_h_sort = sortrows(RI_1_low_h,2); RI_1_high_h_sort = sortrows(RI_1_high_h,2); RI_2_low_l_sort = sortrows(RI_2_low_l,2); RI_2_high_l_sort = sortrows(RI_2_high_l,2); RI_2_low_h_sort = sortrows(RI_2_low_h,2); RI_2_high_h_sort = sortrows(RI_2_high_h,2); RI_3_low_l_sort = sortrows(RI_3_low_l,2); RI_3_high_l_sort = sortrows(RI_3_high_l,2); RI_3_low_h_sort = sortrows(RI_3_low_h,2); RI_3_high_h_sort = sortrows(RI_3_high_h,2); RI_4_low_l_sort = sortrows(RI_4_low_l,2); RI_4_high_l_sort = sortrows(RI_4_high_l,2); RI_4_low_h_sort = sortrows(RI_4_low_h,2); RI_4_high_h_sort = sortrows(RI_4_high_h,2); RI_5_low_l_sort = sortrows(RI_5_low_l,2); RI_5_high_l_sort = sortrows(RI_5_high_l,2); RI_5_low_h_sort = sortrows(RI_5_low_h,2); RI_5_high_h_sort = sortrows(RI_5_high_h,2); RI_6_low_l_sort = sortrows(RI_6_low_l,2); RI_6_high_l_sort = sortrows(RI_6_high_l,2); RI_6_low_h_sort = sortrows(RI_6_low_h,2); RI_6_high_h_sort = sortrows(RI_6_high_h,2); RI_7_low_l_sort = sortrows(RI_7_low_l,2); RI_7_high_l_sort = sortrows(RI_7_high_l,2); RI_7_low_h_sort = sortrows(RI_7_low_h,2); RI_7_high_h_sort = sortrows(RI_7_high_h,2); SC_1_low_l_sort = sortrows(SC_1_low_l,2); SC_1_high_l_sort = sortrows(SC_1_high_l,2); SC_1_low_h_sort = sortrows(SC_1_low_h,2); SC_1_high_h_sort = sortrows(SC_1_high_h,2); SC_2_low_l_sort = sortrows(SC_2_low_l,2); SC_2_high_l_sort = sortrows(SC_2_high_l,2); SC_2_low_h_sort = sortrows(SC_2_low_h,2); SC_2_high_h_sort = sortrows(SC_2_high_h,2); SC_3_low_l_sort = sortrows(SC_3_low_l,2); SC_3_high_l_sort = sortrows(SC_3_high_l,2); SC_3_low_h_sort = sortrows(SC_3_low_h,2); SC_3_high_h_sort = sortrows(SC_3_high_h,2); SC_4_low_l_sort = sortrows(SC_4_low_l,2); SC_4_high_l_sort = sortrows(SC_4_high_l,2); SC_4_low_h_sort = sortrows(SC_4_low_h,2); SC_4_high_h_sort = sortrows(SC_4_high_h,2); SC_5_low_l_sort = sortrows(SC_5_low_l,2); SC_5_high_l_sort = sortrows(SC_5_high_l,2); SC_5_low_h_sort = sortrows(SC_5_low_h,2); SC_5_high_h_sort = sortrows(SC_5_high_h,2); SC_6_low_l_sort = sortrows(SC_6_low_l,2); SC_6_high_l_sort = sortrows(SC_6_high_l,2); SC_6_low_h_sort = sortrows(SC_6_low_h,2); SC_6_high_h_sort = sortrows(SC_6_high_h,2); SC_7_low_l_sort = sortrows(SC_7_low_l,2); SC_7_high_l_sort = sortrows(SC_7_high_l,2); SC_7_low_h_sort = sortrows(SC_7_low_h,2); SC_7_high_h_sort = sortrows(SC_7_high_h,2); TX_1_low_l_sort = sortrows(TX_1_low_l,2); TX_1_high_l_sort = sortrows(TX_1_high_l,2); TX_1_low_h_sort = sortrows(TX_1_low_h,2); TX_1_high_h_sort = sortrows(TX_1_high_h,2); TX_2_low_l_sort = sortrows(TX_2_low_l,2); TX_2_high_l_sort = sortrows(TX_2_high_l,2); TX_2_low_h_sort = sortrows(TX_2_low_h,2); TX_2_high_h_sort = sortrows(TX_2_high_h,2); TX_3_low_l_sort = sortrows(TX_3_low_l,2); TX_3_high_l_sort = sortrows(TX_3_high_l,2); TX_3_low_h_sort = sortrows(TX_3_low_h,2); TX_3_high_h_sort = sortrows(TX_3_high_h,2); TX_4_low_l_sort = sortrows(TX_4_low_l,2); TX_4_high_l_sort = sortrows(TX_4_high_l,2); TX_4_low_h_sort = sortrows(TX_4_low_h,2); TX_4_high_h_sort = sortrows(TX_4_high_h,2); TX_5_low_l_sort = sortrows(TX_5_low_l,2); TX_5_high_l_sort = sortrows(TX_5_high_l,2); TX_5_low_h_sort = sortrows(TX_5_low_h,2); TX_5_high_h_sort = sortrows(TX_5_high_h,2); TX_6_low_l_sort = sortrows(TX_6_low_l,2); TX_6_high_l_sort = sortrows(TX_6_high_l,2); TX_6_low_h_sort = sortrows(TX_6_low_h,2); TX_6_high_h_sort = sortrows(TX_6_high_h,2); TX_7_low_l_sort = sortrows(TX_7_low_l,2); TX_7_high_l_sort = sortrows(TX_7_high_l,2); TX_7_low_h_sort = sortrows(TX_7_low_h,2); TX_7_high_h_sort = sortrows(TX_7_high_h,2); VA_1_low_l_sort = sortrows(VA_1_low_l,2); VA_1_high_l_sort = sortrows(VA_1_high_l,2); VA_1_low_h_sort = sortrows(VA_1_low_h,2); VA_1_high_h_sort = sortrows(VA_1_high_h,2); VA_2_low_l_sort = sortrows(VA_2_low_l,2); VA_2_high_l_sort = sortrows(VA_2_high_l,2); VA_2_low_h_sort = sortrows(VA_2_low_h,2); VA_2_high_h_sort = sortrows(VA_2_high_h,2); VA_3_low_l_sort = sortrows(VA_3_low_l,2); VA_3_high_l_sort = sortrows(VA_3_high_l,2); VA_3_low_h_sort = sortrows(VA_3_low_h,2); VA_3_high_h_sort = sortrows(VA_3_high_h,2); VA_4_low_l_sort = sortrows(VA_4_low_l,2); VA_4_high_l_sort = sortrows(VA_4_high_l,2); VA_4_low_h_sort = sortrows(VA_4_low_h,2); VA_4_high_h_sort = sortrows(VA_4_high_h,2); VA_5_low_l_sort = sortrows(VA_5_low_l,2); VA_5_high_l_sort = sortrows(VA_5_high_l,2); VA_5_low_h_sort = sortrows(VA_5_low_h,2); VA_5_high_h_sort = sortrows(VA_5_high_h,2); VA_6_low_l_sort = sortrows(VA_6_low_l,2); VA_6_high_l_sort = sortrows(VA_6_high_l,2); VA_6_low_h_sort = sortrows(VA_6_low_h,2); VA_6_high_h_sort = sortrows(VA_6_high_h,2); VA_7_low_l_sort = sortrows(VA_7_low_l,2); VA_7_high_l_sort = sortrows(VA_7_high_l,2); VA_7_low_h_sort = sortrows(VA_7_low_h,2); VA_7_high_h_sort = sortrows(VA_7_high_h,2); WA_1_low_l_sort = sortrows(WA_1_low_l,2); WA_1_high_l_sort = sortrows(WA_1_high_l,2); WA_1_low_h_sort = sortrows(WA_1_low_h,2); WA_1_high_h_sort = sortrows(WA_1_high_h,2); WA_2_low_l_sort = sortrows(WA_2_low_l,2); WA_2_high_l_sort = sortrows(WA_2_high_l,2); WA_2_low_h_sort = sortrows(WA_2_low_h,2); WA_2_high_h_sort = sortrows(WA_2_high_h,2); WA_3_low_l_sort = sortrows(WA_3_low_l,2); WA_3_high_l_sort = sortrows(WA_3_high_l,2); WA_3_low_h_sort = sortrows(WA_3_low_h,2); WA_3_high_h_sort = sortrows(WA_3_high_h,2); WA_4_low_l_sort = sortrows(WA_4_low_l,2); WA_4_high_l_sort = sortrows(WA_4_high_l,2); WA_4_low_h_sort = sortrows(WA_4_low_h,2); WA_4_high_h_sort = sortrows(WA_4_high_h,2); WA_5_low_l_sort = sortrows(WA_5_low_l,2); WA_5_high_l_sort = sortrows(WA_5_high_l,2); WA_5_low_h_sort = sortrows(WA_5_low_h,2); WA_5_high_h_sort = sortrows(WA_5_high_h,2); WA_6_low_l_sort = sortrows(WA_6_low_l,2); WA_6_high_l_sort = sortrows(WA_6_high_l,2); WA_6_low_h_sort = sortrows(WA_6_low_h,2); WA_6_high_h_sort = sortrows(WA_6_high_h,2); WA_7_low_l_sort = sortrows(WA_7_low_l,2); WA_7_high_l_sort = sortrows(WA_7_high_l,2); WA_7_low_h_sort = sortrows(WA_7_low_h,2); WA_7_high_h_sort = sortrows(WA_7_high_h,2); WI_1_low_l_sort = sortrows(WI_1_low_l,2); WI_1_high_l_sort = sortrows(WI_1_high_l,2); WI_1_low_h_sort = sortrows(WI_1_low_h,2); WI_1_high_h_sort = sortrows(WI_1_high_h,2); WI_2_low_l_sort = sortrows(WI_2_low_l,2); WI_2_high_l_sort = sortrows(WI_2_high_l,2); WI_2_low_h_sort = sortrows(WI_2_low_h,2); WI_2_high_h_sort = sortrows(WI_2_high_h,2); WI_3_low_l_sort = sortrows(WI_3_low_l,2); WI_3_high_l_sort = sortrows(WI_3_high_l,2); WI_3_low_h_sort = sortrows(WI_3_low_h,2); WI_3_high_h_sort = sortrows(WI_3_high_h,2); WI_4_low_l_sort = sortrows(WI_4_low_l,2); WI_4_high_l_sort = sortrows(WI_4_high_l,2); WI_4_low_h_sort = sortrows(WI_4_low_h,2); WI_4_high_h_sort = sortrows(WI_4_high_h,2); WI_5_low_l_sort = sortrows(WI_5_low_l,2); WI_5_high_l_sort = sortrows(WI_5_high_l,2); WI_5_low_h_sort = sortrows(WI_5_low_h,2); WI_5_high_h_sort = sortrows(WI_5_high_h,2); WI_6_low_l_sort = sortrows(WI_6_low_l,2); WI_6_high_l_sort = sortrows(WI_6_high_l,2); WI_6_low_h_sort = sortrows(WI_6_low_h,2); WI_6_high_h_sort = sortrows(WI_6_high_h,2); WI_7_low_l_sort = sortrows(WI_7_low_l,2); WI_7_high_l_sort = sortrows(WI_7_high_l,2); WI_7_low_h_sort = sortrows(WI_7_low_h,2); WI_7_high_h_sort = sortrows(WI_7_high_h,2); Africa_Eastern_c4_low_l_sort = sortrows(Africa_Eastern_c4_low_l,2); Africa_Eastern_c4_high_l_sort = sortrows(Africa_Eastern_c4_high_l,2); Africa_Eastern_c4_low_h_sort = sortrows(Africa_Eastern_c4_low_h,2); Africa_Eastern_c4_high_h_sort = sortrows(Africa_Eastern_c4_high_h,2); Africa_Eastern_c5_low_l_sort = sortrows(Africa_Eastern_c5_low_l,2); Africa_Eastern_c5_high_l_sort = sortrows(Africa_Eastern_c5_high_l,2); Africa_Eastern_c5_low_h_sort = sortrows(Africa_Eastern_c5_low_h,2); Africa_Eastern_c5_high_h_sort = sortrows(Africa_Eastern_c5_high_h,2); Africa_Eastern_c6_low_l_sort = sortrows(Africa_Eastern_c6_low_l,2); Africa_Eastern_c6_high_l_sort = sortrows(Africa_Eastern_c6_high_l,2); Africa_Eastern_c6_low_h_sort = sortrows(Africa_Eastern_c6_low_h,2); Africa_Eastern_c6_high_h_sort = sortrows(Africa_Eastern_c6_high_h,2); Africa_Eastern_c7_low_l_sort = sortrows(Africa_Eastern_c7_low_l,2); Africa_Eastern_c7_high_l_sort = sortrows(Africa_Eastern_c7_high_l,2); Africa_Eastern_c7_low_h_sort = sortrows(Africa_Eastern_c7_low_h,2); Africa_Eastern_c7_high_h_sort = sortrows(Africa_Eastern_c7_high_h,2); Africa_Eastern_c89_low_l_sort = sortrows(Africa_Eastern_c89_low_l,2); Africa_Eastern_c89_high_l_sort = sortrows(Africa_Eastern_c89_high_l,2); Africa_Eastern_c89_low_h_sort = sortrows(Africa_Eastern_c89_low_h,2); Africa_Eastern_c89_high_h_sort = sortrows(Africa_Eastern_c89_high_h,2); Africa_Northern_c4_low_l_sort = sortrows(Africa_Northern_c4_low_l,2); Africa_Northern_c4_high_l_sort = sortrows(Africa_Northern_c4_high_l,2); Africa_Northern_c4_low_h_sort = sortrows(Africa_Northern_c4_low_h,2); Africa_Northern_c4_high_h_sort = sortrows(Africa_Northern_c4_high_h,2); Africa_Northern_c5_low_l_sort = sortrows(Africa_Northern_c5_low_l,2); Africa_Northern_c5_high_l_sort = sortrows(Africa_Northern_c5_high_l,2); Africa_Northern_c5_low_h_sort = sortrows(Africa_Northern_c5_low_h,2); Africa_Northern_c5_high_h_sort = sortrows(Africa_Northern_c5_high_h,2); Africa_Northern_c6_low_l_sort = sortrows(Africa_Northern_c6_low_l,2); Africa_Northern_c6_high_l_sort = sortrows(Africa_Northern_c6_high_l,2); Africa_Northern_c6_low_h_sort = sortrows(Africa_Northern_c6_low_h,2); Africa_Northern_c6_high_h_sort = sortrows(Africa_Northern_c6_high_h,2); Africa_Northern_c7_low_l_sort = sortrows(Africa_Northern_c7_low_l,2); Africa_Northern_c7_high_l_sort = sortrows(Africa_Northern_c7_high_l,2); Africa_Northern_c7_low_h_sort = sortrows(Africa_Northern_c7_low_h,2); Africa_Northern_c7_high_h_sort = sortrows(Africa_Northern_c7_high_h,2); Africa_Northern_c89_low_l_sort = sortrows(Africa_Northern_c89_low_l,2); Africa_Northern_c89_high_l_sort = sortrows(Africa_Northern_c89_high_l,2); Africa_Northern_c89_low_h_sort = sortrows(Africa_Northern_c89_low_h,2); Africa_Northern_c89_high_h_sort = sortrows(Africa_Northern_c89_high_h,2); Africa_Southern_c4_low_l_sort = sortrows(Africa_Southern_c4_low_l,2); Africa_Southern_c4_high_l_sort = sortrows(Africa_Southern_c4_high_l,2); Africa_Southern_c4_low_h_sort = sortrows(Africa_Southern_c4_low_h,2); Africa_Southern_c4_high_h_sort = sortrows(Africa_Southern_c4_high_h,2); Africa_Southern_c5_low_l_sort = sortrows(Africa_Southern_c5_low_l,2); Africa_Southern_c5_high_l_sort = sortrows(Africa_Southern_c5_high_l,2); Africa_Southern_c5_low_h_sort = sortrows(Africa_Southern_c5_low_h,2); Africa_Southern_c5_high_h_sort = sortrows(Africa_Southern_c5_high_h,2); Africa_Southern_c6_low_l_sort = sortrows(Africa_Southern_c6_low_l,2); Africa_Southern_c6_high_l_sort = sortrows(Africa_Southern_c6_high_l,2); Africa_Southern_c6_low_h_sort = sortrows(Africa_Southern_c6_low_h,2); Africa_Southern_c6_high_h_sort = sortrows(Africa_Southern_c6_high_h,2); Africa_Southern_c7_low_l_sort = sortrows(Africa_Southern_c7_low_l,2); Africa_Southern_c7_high_l_sort = sortrows(Africa_Southern_c7_high_l,2); Africa_Southern_c7_low_h_sort = sortrows(Africa_Southern_c7_low_h,2); Africa_Southern_c7_high_h_sort = sortrows(Africa_Southern_c7_high_h,2); Africa_Southern_c89_low_l_sort = sortrows(Africa_Southern_c89_low_l,2); Africa_Southern_c89_high_l_sort = sortrows(Africa_Southern_c89_high_l,2); Africa_Southern_c89_low_h_sort = sortrows(Africa_Southern_c89_low_h,2); Africa_Southern_c89_high_h_sort = sortrows(Africa_Southern_c89_high_h,2); Africa_Western_c4_low_l_sort = sortrows(Africa_Western_c4_low_l,2); Africa_Western_c4_high_l_sort = sortrows(Africa_Western_c4_high_l,2); Africa_Western_c4_low_h_sort = sortrows(Africa_Western_c4_low_h,2); Africa_Western_c4_high_h_sort = sortrows(Africa_Western_c4_high_h,2); Africa_Western_c5_low_l_sort = sortrows(Africa_Western_c5_low_l,2); Africa_Western_c5_high_l_sort = sortrows(Africa_Western_c5_high_l,2); Africa_Western_c5_low_h_sort = sortrows(Africa_Western_c5_low_h,2); Africa_Western_c5_high_h_sort = sortrows(Africa_Western_c5_high_h,2); Africa_Western_c6_low_l_sort = sortrows(Africa_Western_c6_low_l,2); Africa_Western_c6_high_l_sort = sortrows(Africa_Western_c6_high_l,2); Africa_Western_c6_low_h_sort = sortrows(Africa_Western_c6_low_h,2); Africa_Western_c6_high_h_sort = sortrows(Africa_Western_c6_high_h,2); Africa_Western_c7_low_l_sort = sortrows(Africa_Western_c7_low_l,2); Africa_Western_c7_high_l_sort = sortrows(Africa_Western_c7_high_l,2); Africa_Western_c7_low_h_sort = sortrows(Africa_Western_c7_low_h,2); Africa_Western_c7_high_h_sort = sortrows(Africa_Western_c7_high_h,2); Africa_Western_c89_low_l_sort = sortrows(Africa_Western_c89_low_l,2); Africa_Western_c89_high_l_sort = sortrows(Africa_Western_c89_high_l,2); Africa_Western_c89_low_h_sort = sortrows(Africa_Western_c89_low_h,2); Africa_Western_c89_high_h_sort = sortrows(Africa_Western_c89_high_h,2); Australia_NZ_c4_low_l_sort = sortrows(Australia_NZ_c4_low_l,2); Australia_NZ_c4_high_l_sort = sortrows(Australia_NZ_c4_high_l,2); Australia_NZ_c4_low_h_sort = sortrows(Australia_NZ_c4_low_h,2); Australia_NZ_c4_high_h_sort = sortrows(Australia_NZ_c4_high_h,2); Australia_NZ_c5_low_l_sort = sortrows(Australia_NZ_c5_low_l,2); Australia_NZ_c5_high_l_sort = sortrows(Australia_NZ_c5_high_l,2); Australia_NZ_c5_low_h_sort = sortrows(Australia_NZ_c5_low_h,2); Australia_NZ_c5_high_h_sort = sortrows(Australia_NZ_c5_high_h,2); Australia_NZ_c6_low_l_sort = sortrows(Australia_NZ_c6_low_l,2); Australia_NZ_c6_high_l_sort = sortrows(Australia_NZ_c6_high_l,2); Australia_NZ_c6_low_h_sort = sortrows(Australia_NZ_c6_low_h,2); Australia_NZ_c6_high_h_sort = sortrows(Australia_NZ_c6_high_h,2); Australia_NZ_c7_low_l_sort = sortrows(Australia_NZ_c7_low_l,2); Australia_NZ_c7_high_l_sort = sortrows(Australia_NZ_c7_high_l,2); Australia_NZ_c7_low_h_sort = sortrows(Australia_NZ_c7_low_h,2); Australia_NZ_c7_high_h_sort = sortrows(Australia_NZ_c7_high_h,2); Australia_NZ_c89_low_l_sort = sortrows(Australia_NZ_c89_low_l,2); Australia_NZ_c89_high_l_sort = sortrows(Australia_NZ_c89_high_l,2); Australia_NZ_c89_low_h_sort = sortrows(Australia_NZ_c89_low_h,2); Australia_NZ_c89_high_h_sort = sortrows(Australia_NZ_c89_high_h,2); Brazil_c4_low_l_sort = sortrows(Brazil_c4_low_l,2); Brazil_c4_high_l_sort = sortrows(Brazil_c4_high_l,2); Brazil_c4_low_h_sort = sortrows(Brazil_c4_low_h,2); Brazil_c4_high_h_sort = sortrows(Brazil_c4_high_h,2); Brazil_c5_low_l_sort = sortrows(Brazil_c5_low_l,2); Brazil_c5_high_l_sort = sortrows(Brazil_c5_high_l,2); Brazil_c5_low_h_sort = sortrows(Brazil_c5_low_h,2); Brazil_c5_high_h_sort = sortrows(Brazil_c5_high_h,2); Brazil_c6_low_l_sort = sortrows(Brazil_c6_low_l,2); Brazil_c6_high_l_sort = sortrows(Brazil_c6_high_l,2); Brazil_c6_low_h_sort = sortrows(Brazil_c6_low_h,2); Brazil_c6_high_h_sort = sortrows(Brazil_c6_high_h,2); Brazil_c7_low_l_sort = sortrows(Brazil_c7_low_l,2); Brazil_c7_high_l_sort = sortrows(Brazil_c7_high_l,2); Brazil_c7_low_h_sort = sortrows(Brazil_c7_low_h,2); Brazil_c7_high_h_sort = sortrows(Brazil_c7_high_h,2); Brazil_c89_low_l_sort = sortrows(Brazil_c89_low_l,2); Brazil_c89_high_l_sort = sortrows(Brazil_c89_high_l,2); Brazil_c89_low_h_sort = sortrows(Brazil_c89_low_h,2); Brazil_c89_high_h_sort = sortrows(Brazil_c89_high_h,2); Canada_c4_low_l_sort = sortrows(Canada_c4_low_l,2); Canada_c4_high_l_sort = sortrows(Canada_c4_high_l,2); Canada_c4_low_h_sort = sortrows(Canada_c4_low_h,2); Canada_c4_high_h_sort = sortrows(Canada_c4_high_h,2); Canada_c5_low_l_sort = sortrows(Canada_c5_low_l,2); Canada_c5_high_l_sort = sortrows(Canada_c5_high_l,2); Canada_c5_low_h_sort = sortrows(Canada_c5_low_h,2); Canada_c5_high_h_sort = sortrows(Canada_c5_high_h,2); Canada_c6_low_l_sort = sortrows(Canada_c6_low_l,2); Canada_c6_high_l_sort = sortrows(Canada_c6_high_l,2); Canada_c6_low_h_sort = sortrows(Canada_c6_low_h,2); Canada_c6_high_h_sort = sortrows(Canada_c6_high_h,2); Canada_c7_low_l_sort = sortrows(Canada_c7_low_l,2); Canada_c7_high_l_sort = sortrows(Canada_c7_high_l,2); Canada_c7_low_h_sort = sortrows(Canada_c7_low_h,2); Canada_c7_high_h_sort = sortrows(Canada_c7_high_h,2); Canada_c89_low_l_sort = sortrows(Canada_c89_low_l,2); Canada_c89_high_l_sort = sortrows(Canada_c89_high_l,2); Canada_c89_low_h_sort = sortrows(Canada_c89_low_h,2); Canada_c89_high_h_sort = sortrows(Canada_c89_high_h,2); Central_America_and_Caribbean_c4_low_l_sort = sortrows(Central_America_and_Caribbean_c4_low_l,2); Central_America_and_Caribbean_c4_high_l_sort = sortrows(Central_America_and_Caribbean_c4_high_l,2); Central_America_and_Caribbean_c4_low_h_sort = sortrows(Central_America_and_Caribbean_c4_low_h,2); Central_America_and_Caribbean_c4_high_h_sort = sortrows(Central_America_and_Caribbean_c4_high_h,2); Central_America_and_Caribbean_c5_low_l_sort = sortrows(Central_America_and_Caribbean_c5_low_l,2); Central_America_and_Caribbean_c5_high_l_sort = sortrows(Central_America_and_Caribbean_c5_high_l,2); Central_America_and_Caribbean_c5_low_h_sort = sortrows(Central_America_and_Caribbean_c5_low_h,2); Central_America_and_Caribbean_c5_high_h_sort = sortrows(Central_America_and_Caribbean_c5_high_h,2); Central_America_and_Caribbean_c6_low_l_sort = sortrows(Central_America_and_Caribbean_c6_low_l,2); Central_America_and_Caribbean_c6_high_l_sort = sortrows(Central_America_and_Caribbean_c6_high_l,2); Central_America_and_Caribbean_c6_low_h_sort = sortrows(Central_America_and_Caribbean_c6_low_h,2); Central_America_and_Caribbean_c6_high_h_sort = sortrows(Central_America_and_Caribbean_c6_high_h,2); Central_America_and_Caribbean_c7_low_l_sort = sortrows(Central_America_and_Caribbean_c7_low_l,2); Central_America_and_Caribbean_c7_high_l_sort = sortrows(Central_America_and_Caribbean_c7_high_l,2); Central_America_and_Caribbean_c7_low_h_sort = sortrows(Central_America_and_Caribbean_c7_low_h,2); Central_America_and_Caribbean_c7_high_h_sort = sortrows(Central_America_and_Caribbean_c7_high_h,2); Central_America_and_Caribbean_c89_low_l_sort = sortrows(Central_America_and_Caribbean_c89_low_l,2); Central_America_and_Caribbean_c89_high_l_sort = sortrows(Central_America_and_Caribbean_c89_high_l,2); Central_America_and_Caribbean_c89_low_h_sort = sortrows(Central_America_and_Caribbean_c89_low_h,2); Central_America_and_Caribbean_c89_high_h_sort = sortrows(Central_America_and_Caribbean_c89_high_h,2); Central_Asia_c4_low_l_sort = sortrows(Central_Asia_c4_low_l,2); Central_Asia_c4_high_l_sort = sortrows(Central_Asia_c4_high_l,2); Central_Asia_c4_low_h_sort = sortrows(Central_Asia_c4_low_h,2); Central_Asia_c4_high_h_sort = sortrows(Central_Asia_c4_high_h,2); Central_Asia_c5_low_l_sort = sortrows(Central_Asia_c5_low_l,2); Central_Asia_c5_high_l_sort = sortrows(Central_Asia_c5_high_l,2); Central_Asia_c5_low_h_sort = sortrows(Central_Asia_c5_low_h,2); Central_Asia_c5_high_h_sort = sortrows(Central_Asia_c5_high_h,2); Central_Asia_c6_low_l_sort = sortrows(Central_Asia_c6_low_l,2); Central_Asia_c6_high_l_sort = sortrows(Central_Asia_c6_high_l,2); Central_Asia_c6_low_h_sort = sortrows(Central_Asia_c6_low_h,2); Central_Asia_c6_high_h_sort = sortrows(Central_Asia_c6_high_h,2); Central_Asia_c7_low_l_sort = sortrows(Central_Asia_c7_low_l,2); Central_Asia_c7_high_l_sort = sortrows(Central_Asia_c7_high_l,2); Central_Asia_c7_low_h_sort = sortrows(Central_Asia_c7_low_h,2); Central_Asia_c7_high_h_sort = sortrows(Central_Asia_c7_high_h,2); Central_Asia_c89_low_l_sort = sortrows(Central_Asia_c89_low_l,2); Central_Asia_c89_high_l_sort = sortrows(Central_Asia_c89_high_l,2); Central_Asia_c89_low_h_sort = sortrows(Central_Asia_c89_low_h,2); Central_Asia_c89_high_h_sort = sortrows(Central_Asia_c89_high_h,2); China_c4_low_l_sort = sortrows(China_c4_low_l,2); China_c4_high_l_sort = sortrows(China_c4_high_l,2); China_c4_low_h_sort = sortrows(China_c4_low_h,2); China_c4_high_h_sort = sortrows(China_c4_high_h,2); China_c5_low_l_sort = sortrows(China_c5_low_l,2); China_c5_high_l_sort = sortrows(China_c5_high_l,2); China_c5_low_h_sort = sortrows(China_c5_low_h,2); China_c5_high_h_sort = sortrows(China_c5_high_h,2); China_c6_low_l_sort = sortrows(China_c6_low_l,2); China_c6_high_l_sort = sortrows(China_c6_high_l,2); China_c6_low_h_sort = sortrows(China_c6_low_h,2); China_c6_high_h_sort = sortrows(China_c6_high_h,2); China_c7_low_l_sort = sortrows(China_c7_low_l,2); China_c7_high_l_sort = sortrows(China_c7_high_l,2); China_c7_low_h_sort = sortrows(China_c7_low_h,2); China_c7_high_h_sort = sortrows(China_c7_high_h,2); China_c89_low_l_sort = sortrows(China_c89_low_l,2); China_c89_high_l_sort = sortrows(China_c89_high_l,2); China_c89_low_h_sort = sortrows(China_c89_low_h,2); China_c89_high_h_sort = sortrows(China_c89_high_h,2); EU_12_c4_low_l_sort = sortrows(EU_12_c4_low_l,2); EU_12_c4_high_l_sort = sortrows(EU_12_c4_high_l,2); EU_12_c4_low_h_sort = sortrows(EU_12_c4_low_h,2); EU_12_c4_high_h_sort = sortrows(EU_12_c4_high_h,2); EU_12_c5_low_l_sort = sortrows(EU_12_c5_low_l,2); EU_12_c5_high_l_sort = sortrows(EU_12_c5_high_l,2); EU_12_c5_low_h_sort = sortrows(EU_12_c5_low_h,2); EU_12_c5_high_h_sort = sortrows(EU_12_c5_high_h,2); EU_12_c6_low_l_sort = sortrows(EU_12_c6_low_l,2); EU_12_c6_high_l_sort = sortrows(EU_12_c6_high_l,2); EU_12_c6_low_h_sort = sortrows(EU_12_c6_low_h,2); EU_12_c6_high_h_sort = sortrows(EU_12_c6_high_h,2); EU_12_c7_low_l_sort = sortrows(EU_12_c7_low_l,2); EU_12_c7_high_l_sort = sortrows(EU_12_c7_high_l,2); EU_12_c7_low_h_sort = sortrows(EU_12_c7_low_h,2); EU_12_c7_high_h_sort = sortrows(EU_12_c7_high_h,2); EU_12_c89_low_l_sort = sortrows(EU_12_c89_low_l,2); EU_12_c89_high_l_sort = sortrows(EU_12_c89_high_l,2); EU_12_c89_low_h_sort = sortrows(EU_12_c89_low_h,2); EU_12_c89_high_h_sort = sortrows(EU_12_c89_high_h,2); EU_15_c4_low_l_sort = sortrows(EU_15_c4_low_l,2); EU_15_c4_high_l_sort = sortrows(EU_15_c4_high_l,2); EU_15_c4_low_h_sort = sortrows(EU_15_c4_low_h,2); EU_15_c4_high_h_sort = sortrows(EU_15_c4_high_h,2); EU_15_c5_low_l_sort = sortrows(EU_15_c5_low_l,2); EU_15_c5_high_l_sort = sortrows(EU_15_c5_high_l,2); EU_15_c5_low_h_sort = sortrows(EU_15_c5_low_h,2); EU_15_c5_high_h_sort = sortrows(EU_15_c5_high_h,2); EU_15_c6_low_l_sort = sortrows(EU_15_c6_low_l,2); EU_15_c6_high_l_sort = sortrows(EU_15_c6_high_l,2); EU_15_c6_low_h_sort = sortrows(EU_15_c6_low_h,2); EU_15_c6_high_h_sort = sortrows(EU_15_c6_high_h,2); EU_15_c7_low_l_sort = sortrows(EU_15_c7_low_l,2); EU_15_c7_high_l_sort = sortrows(EU_15_c7_high_l,2); EU_15_c7_low_h_sort = sortrows(EU_15_c7_low_h,2); EU_15_c7_high_h_sort = sortrows(EU_15_c7_high_h,2); EU_15_c89_low_l_sort = sortrows(EU_15_c89_low_l,2); EU_15_c89_high_l_sort = sortrows(EU_15_c89_high_l,2); EU_15_c89_low_h_sort = sortrows(EU_15_c89_low_h,2); EU_15_c89_high_h_sort = sortrows(EU_15_c89_high_h,2); Europe_Eastern_c4_low_l_sort = sortrows(Europe_Eastern_c4_low_l,2); Europe_Eastern_c4_high_l_sort = sortrows(Europe_Eastern_c4_high_l,2); Europe_Eastern_c4_low_h_sort = sortrows(Europe_Eastern_c4_low_h,2); Europe_Eastern_c4_high_h_sort = sortrows(Europe_Eastern_c4_high_h,2); Europe_Eastern_c5_low_l_sort = sortrows(Europe_Eastern_c5_low_l,2); Europe_Eastern_c5_high_l_sort = sortrows(Europe_Eastern_c5_high_l,2); Europe_Eastern_c5_low_h_sort = sortrows(Europe_Eastern_c5_low_h,2); Europe_Eastern_c5_high_h_sort = sortrows(Europe_Eastern_c5_high_h,2); Europe_Eastern_c6_low_l_sort = sortrows(Europe_Eastern_c6_low_l,2); Europe_Eastern_c6_high_l_sort = sortrows(Europe_Eastern_c6_high_l,2); Europe_Eastern_c6_low_h_sort = sortrows(Europe_Eastern_c6_low_h,2); Europe_Eastern_c6_high_h_sort = sortrows(Europe_Eastern_c6_high_h,2); Europe_Eastern_c7_low_l_sort = sortrows(Europe_Eastern_c7_low_l,2); Europe_Eastern_c7_high_l_sort = sortrows(Europe_Eastern_c7_high_l,2); Europe_Eastern_c7_low_h_sort = sortrows(Europe_Eastern_c7_low_h,2); Europe_Eastern_c7_high_h_sort = sortrows(Europe_Eastern_c7_high_h,2); Europe_Eastern_c89_low_l_sort = sortrows(Europe_Eastern_c89_low_l,2); Europe_Eastern_c89_high_l_sort = sortrows(Europe_Eastern_c89_high_l,2); Europe_Eastern_c89_low_h_sort = sortrows(Europe_Eastern_c89_low_h,2); Europe_Eastern_c89_high_h_sort = sortrows(Europe_Eastern_c89_high_h,2); Europe_Non_EU_c4_low_l_sort = sortrows(Europe_Non_EU_c4_low_l,2); Europe_Non_EU_c4_high_l_sort = sortrows(Europe_Non_EU_c4_high_l,2); Europe_Non_EU_c4_low_h_sort = sortrows(Europe_Non_EU_c4_low_h,2); Europe_Non_EU_c4_high_h_sort = sortrows(Europe_Non_EU_c4_high_h,2); Europe_Non_EU_c5_low_l_sort = sortrows(Europe_Non_EU_c5_low_l,2); Europe_Non_EU_c5_high_l_sort = sortrows(Europe_Non_EU_c5_high_l,2); Europe_Non_EU_c5_low_h_sort = sortrows(Europe_Non_EU_c5_low_h,2); Europe_Non_EU_c5_high_h_sort = sortrows(Europe_Non_EU_c5_high_h,2); Europe_Non_EU_c6_low_l_sort = sortrows(Europe_Non_EU_c6_low_l,2); Europe_Non_EU_c6_high_l_sort = sortrows(Europe_Non_EU_c6_high_l,2); Europe_Non_EU_c6_low_h_sort = sortrows(Europe_Non_EU_c6_low_h,2); Europe_Non_EU_c6_high_h_sort = sortrows(Europe_Non_EU_c6_high_h,2); Europe_Non_EU_c7_low_l_sort = sortrows(Europe_Non_EU_c7_low_l,2); Europe_Non_EU_c7_high_l_sort = sortrows(Europe_Non_EU_c7_high_l,2); Europe_Non_EU_c7_low_h_sort = sortrows(Europe_Non_EU_c7_low_h,2); Europe_Non_EU_c7_high_h_sort = sortrows(Europe_Non_EU_c7_high_h,2); Europe_Non_EU_c89_low_l_sort = sortrows(Europe_Non_EU_c89_low_l,2); Europe_Non_EU_c89_high_l_sort = sortrows(Europe_Non_EU_c89_high_l,2); Europe_Non_EU_c89_low_h_sort = sortrows(Europe_Non_EU_c89_low_h,2); Europe_Non_EU_c89_high_h_sort = sortrows(Europe_Non_EU_c89_high_h,2); European_Free_Trade_Association_c4_low_l_sort = sortrows(European_Free_Trade_Association_c4_low_l,2); European_Free_Trade_Association_c4_high_l_sort = sortrows(European_Free_Trade_Association_c4_high_l,2); European_Free_Trade_Association_c4_low_h_sort = sortrows(European_Free_Trade_Association_c4_low_h,2); European_Free_Trade_Association_c4_high_h_sort = sortrows(European_Free_Trade_Association_c4_high_h,2); European_Free_Trade_Association_c5_low_l_sort = sortrows(European_Free_Trade_Association_c5_low_l,2); European_Free_Trade_Association_c5_high_l_sort = sortrows(European_Free_Trade_Association_c5_high_l,2); European_Free_Trade_Association_c5_low_h_sort = sortrows(European_Free_Trade_Association_c5_low_h,2); European_Free_Trade_Association_c5_high_h_sort = sortrows(European_Free_Trade_Association_c5_high_h,2); European_Free_Trade_Association_c6_low_l_sort = sortrows(European_Free_Trade_Association_c6_low_l,2); European_Free_Trade_Association_c6_high_l_sort = sortrows(European_Free_Trade_Association_c6_high_l,2); European_Free_Trade_Association_c6_low_h_sort = sortrows(European_Free_Trade_Association_c6_low_h,2); European_Free_Trade_Association_c6_high_h_sort = sortrows(European_Free_Trade_Association_c6_high_h,2); European_Free_Trade_Association_c7_low_l_sort = sortrows(European_Free_Trade_Association_c7_low_l,2); European_Free_Trade_Association_c7_high_l_sort = sortrows(European_Free_Trade_Association_c7_high_l,2); European_Free_Trade_Association_c7_low_h_sort = sortrows(European_Free_Trade_Association_c7_low_h,2); European_Free_Trade_Association_c7_high_h_sort = sortrows(European_Free_Trade_Association_c7_high_h,2); European_Free_Trade_Association_c89_low_l_sort = sortrows(European_Free_Trade_Association_c89_low_l,2); European_Free_Trade_Association_c89_high_l_sort = sortrows(European_Free_Trade_Association_c89_high_l,2); European_Free_Trade_Association_c89_low_h_sort = sortrows(European_Free_Trade_Association_c89_low_h,2); European_Free_Trade_Association_c89_high_h_sort = sortrows(European_Free_Trade_Association_c89_high_h,2); India_c4_low_l_sort = sortrows(India_c4_low_l,2); India_c4_high_l_sort = sortrows(India_c4_high_l,2); India_c4_low_h_sort = sortrows(India_c4_low_h,2); India_c4_high_h_sort = sortrows(India_c4_high_h,2); India_c5_low_l_sort = sortrows(India_c5_low_l,2); India_c5_high_l_sort = sortrows(India_c5_high_l,2); India_c5_low_h_sort = sortrows(India_c5_low_h,2); India_c5_high_h_sort = sortrows(India_c5_high_h,2); India_c6_low_l_sort = sortrows(India_c6_low_l,2); India_c6_high_l_sort = sortrows(India_c6_high_l,2); India_c6_low_h_sort = sortrows(India_c6_low_h,2); India_c6_high_h_sort = sortrows(India_c6_high_h,2); India_c7_low_l_sort = sortrows(India_c7_low_l,2); India_c7_high_l_sort = sortrows(India_c7_high_l,2); India_c7_low_h_sort = sortrows(India_c7_low_h,2); India_c7_high_h_sort = sortrows(India_c7_high_h,2); India_c89_low_l_sort = sortrows(India_c89_low_l,2); India_c89_high_l_sort = sortrows(India_c89_high_l,2); India_c89_low_h_sort = sortrows(India_c89_low_h,2); India_c89_high_h_sort = sortrows(India_c89_high_h,2); Indonesia_c4_low_l_sort = sortrows(Indonesia_c4_low_l,2); Indonesia_c4_high_l_sort = sortrows(Indonesia_c4_high_l,2); Indonesia_c4_low_h_sort = sortrows(Indonesia_c4_low_h,2); Indonesia_c4_high_h_sort = sortrows(Indonesia_c4_high_h,2); Indonesia_c5_low_l_sort = sortrows(Indonesia_c5_low_l,2); Indonesia_c5_high_l_sort = sortrows(Indonesia_c5_high_l,2); Indonesia_c5_low_h_sort = sortrows(Indonesia_c5_low_h,2); Indonesia_c5_high_h_sort = sortrows(Indonesia_c5_high_h,2); Indonesia_c6_low_l_sort = sortrows(Indonesia_c6_low_l,2); Indonesia_c6_high_l_sort = sortrows(Indonesia_c6_high_l,2); Indonesia_c6_low_h_sort = sortrows(Indonesia_c6_low_h,2); Indonesia_c6_high_h_sort = sortrows(Indonesia_c6_high_h,2); Indonesia_c7_low_l_sort = sortrows(Indonesia_c7_low_l,2); Indonesia_c7_high_l_sort = sortrows(Indonesia_c7_high_l,2); Indonesia_c7_low_h_sort = sortrows(Indonesia_c7_low_h,2); Indonesia_c7_high_h_sort = sortrows(Indonesia_c7_high_h,2); Indonesia_c89_low_l_sort = sortrows(Indonesia_c89_low_l,2); Indonesia_c89_high_l_sort = sortrows(Indonesia_c89_high_l,2); Indonesia_c89_low_h_sort = sortrows(Indonesia_c89_low_h,2); Indonesia_c89_high_h_sort = sortrows(Indonesia_c89_high_h,2); Japan_c4_low_l_sort = sortrows(Japan_c4_low_l,2); Japan_c4_high_l_sort = sortrows(Japan_c4_high_l,2); Japan_c4_low_h_sort = sortrows(Japan_c4_low_h,2); Japan_c4_high_h_sort = sortrows(Japan_c4_high_h,2); Japan_c5_low_l_sort = sortrows(Japan_c5_low_l,2); Japan_c5_high_l_sort = sortrows(Japan_c5_high_l,2); Japan_c5_low_h_sort = sortrows(Japan_c5_low_h,2); Japan_c5_high_h_sort = sortrows(Japan_c5_high_h,2); Japan_c6_low_l_sort = sortrows(Japan_c6_low_l,2); Japan_c6_high_l_sort = sortrows(Japan_c6_high_l,2); Japan_c6_low_h_sort = sortrows(Japan_c6_low_h,2); Japan_c6_high_h_sort = sortrows(Japan_c6_high_h,2); Japan_c7_low_l_sort = sortrows(Japan_c7_low_l,2); Japan_c7_high_l_sort = sortrows(Japan_c7_high_l,2); Japan_c7_low_h_sort = sortrows(Japan_c7_low_h,2); Japan_c7_high_h_sort = sortrows(Japan_c7_high_h,2); Japan_c89_low_l_sort = sortrows(Japan_c89_low_l,2); Japan_c89_high_l_sort = sortrows(Japan_c89_high_l,2); Japan_c89_low_h_sort = sortrows(Japan_c89_low_h,2); Japan_c89_high_h_sort = sortrows(Japan_c89_high_h,2); Mexico_c4_low_l_sort = sortrows(Mexico_c4_low_l,2); Mexico_c4_high_l_sort = sortrows(Mexico_c4_high_l,2); Mexico_c4_low_h_sort = sortrows(Mexico_c4_low_h,2); Mexico_c4_high_h_sort = sortrows(Mexico_c4_high_h,2); Mexico_c5_low_l_sort = sortrows(Mexico_c5_low_l,2); Mexico_c5_high_l_sort = sortrows(Mexico_c5_high_l,2); Mexico_c5_low_h_sort = sortrows(Mexico_c5_low_h,2); Mexico_c5_high_h_sort = sortrows(Mexico_c5_high_h,2); Mexico_c6_low_l_sort = sortrows(Mexico_c6_low_l,2); Mexico_c6_high_l_sort = sortrows(Mexico_c6_high_l,2); Mexico_c6_low_h_sort = sortrows(Mexico_c6_low_h,2); Mexico_c6_high_h_sort = sortrows(Mexico_c6_high_h,2); Mexico_c7_low_l_sort = sortrows(Mexico_c7_low_l,2); Mexico_c7_high_l_sort = sortrows(Mexico_c7_high_l,2); Mexico_c7_low_h_sort = sortrows(Mexico_c7_low_h,2); Mexico_c7_high_h_sort = sortrows(Mexico_c7_high_h,2); Mexico_c89_low_l_sort = sortrows(Mexico_c89_low_l,2); Mexico_c89_high_l_sort = sortrows(Mexico_c89_high_l,2); Mexico_c89_low_h_sort = sortrows(Mexico_c89_low_h,2); Mexico_c89_high_h_sort = sortrows(Mexico_c89_high_h,2); Middle_East_c4_low_l_sort = sortrows(Middle_East_c4_low_l,2); Middle_East_c4_high_l_sort = sortrows(Middle_East_c4_high_l,2); Middle_East_c4_low_h_sort = sortrows(Middle_East_c4_low_h,2); Middle_East_c4_high_h_sort = sortrows(Middle_East_c4_high_h,2); Middle_East_c5_low_l_sort = sortrows(Middle_East_c5_low_l,2); Middle_East_c5_high_l_sort = sortrows(Middle_East_c5_high_l,2); Middle_East_c5_low_h_sort = sortrows(Middle_East_c5_low_h,2); Middle_East_c5_high_h_sort = sortrows(Middle_East_c5_high_h,2); Middle_East_c6_low_l_sort = sortrows(Middle_East_c6_low_l,2); Middle_East_c6_high_l_sort = sortrows(Middle_East_c6_high_l,2); Middle_East_c6_low_h_sort = sortrows(Middle_East_c6_low_h,2); Middle_East_c6_high_h_sort = sortrows(Middle_East_c6_high_h,2); Middle_East_c7_low_l_sort = sortrows(Middle_East_c7_low_l,2); Middle_East_c7_high_l_sort = sortrows(Middle_East_c7_high_l,2); Middle_East_c7_low_h_sort = sortrows(Middle_East_c7_low_h,2); Middle_East_c7_high_h_sort = sortrows(Middle_East_c7_high_h,2); Middle_East_c89_low_l_sort = sortrows(Middle_East_c89_low_l,2); Middle_East_c89_high_l_sort = sortrows(Middle_East_c89_high_l,2); Middle_East_c89_low_h_sort = sortrows(Middle_East_c89_low_h,2); Middle_East_c89_high_h_sort = sortrows(Middle_East_c89_high_h,2); Pakistan_c4_low_l_sort = sortrows(Pakistan_c4_low_l,2); Pakistan_c4_high_l_sort = sortrows(Pakistan_c4_high_l,2); Pakistan_c4_low_h_sort = sortrows(Pakistan_c4_low_h,2); Pakistan_c4_high_h_sort = sortrows(Pakistan_c4_high_h,2); Pakistan_c5_low_l_sort = sortrows(Pakistan_c5_low_l,2); Pakistan_c5_high_l_sort = sortrows(Pakistan_c5_high_l,2); Pakistan_c5_low_h_sort = sortrows(Pakistan_c5_low_h,2); Pakistan_c5_high_h_sort = sortrows(Pakistan_c5_high_h,2); Pakistan_c6_low_l_sort = sortrows(Pakistan_c6_low_l,2); Pakistan_c6_high_l_sort = sortrows(Pakistan_c6_high_l,2); Pakistan_c6_low_h_sort = sortrows(Pakistan_c6_low_h,2); Pakistan_c6_high_h_sort = sortrows(Pakistan_c6_high_h,2); Pakistan_c7_low_l_sort = sortrows(Pakistan_c7_low_l,2); Pakistan_c7_high_l_sort = sortrows(Pakistan_c7_high_l,2); Pakistan_c7_low_h_sort = sortrows(Pakistan_c7_low_h,2); Pakistan_c7_high_h_sort = sortrows(Pakistan_c7_high_h,2); Pakistan_c89_low_l_sort = sortrows(Pakistan_c89_low_l,2); Pakistan_c89_high_l_sort = sortrows(Pakistan_c89_high_l,2); Pakistan_c89_low_h_sort = sortrows(Pakistan_c89_low_h,2); Pakistan_c89_high_h_sort = sortrows(Pakistan_c89_high_h,2); Russia_c4_low_l_sort = sortrows(Russia_c4_low_l,2); Russia_c4_high_l_sort = sortrows(Russia_c4_high_l,2); Russia_c4_low_h_sort = sortrows(Russia_c4_low_h,2); Russia_c4_high_h_sort = sortrows(Russia_c4_high_h,2); Russia_c5_low_l_sort = sortrows(Russia_c5_low_l,2); Russia_c5_high_l_sort = sortrows(Russia_c5_high_l,2); Russia_c5_low_h_sort = sortrows(Russia_c5_low_h,2); Russia_c5_high_h_sort = sortrows(Russia_c5_high_h,2); Russia_c6_low_l_sort = sortrows(Russia_c6_low_l,2); Russia_c6_high_l_sort = sortrows(Russia_c6_high_l,2); Russia_c6_low_h_sort = sortrows(Russia_c6_low_h,2); Russia_c6_high_h_sort = sortrows(Russia_c6_high_h,2); Russia_c7_low_l_sort = sortrows(Russia_c7_low_l,2); Russia_c7_high_l_sort = sortrows(Russia_c7_high_l,2); Russia_c7_low_h_sort = sortrows(Russia_c7_low_h,2); Russia_c7_high_h_sort = sortrows(Russia_c7_high_h,2); Russia_c89_low_l_sort = sortrows(Russia_c89_low_l,2); Russia_c89_high_l_sort = sortrows(Russia_c89_high_l,2); Russia_c89_low_h_sort = sortrows(Russia_c89_low_h,2); Russia_c89_high_h_sort = sortrows(Russia_c89_high_h,2); South_Africa_c4_low_l_sort = sortrows(South_Africa_c4_low_l,2); South_Africa_c4_high_l_sort = sortrows(South_Africa_c4_high_l,2); South_Africa_c4_low_h_sort = sortrows(South_Africa_c4_low_h,2); South_Africa_c4_high_h_sort = sortrows(South_Africa_c4_high_h,2); South_Africa_c5_low_l_sort = sortrows(South_Africa_c5_low_l,2); South_Africa_c5_high_l_sort = sortrows(South_Africa_c5_high_l,2); South_Africa_c5_low_h_sort = sortrows(South_Africa_c5_low_h,2); South_Africa_c5_high_h_sort = sortrows(South_Africa_c5_high_h,2); South_Africa_c6_low_l_sort = sortrows(South_Africa_c6_low_l,2); South_Africa_c6_high_l_sort = sortrows(South_Africa_c6_high_l,2); South_Africa_c6_low_h_sort = sortrows(South_Africa_c6_low_h,2); South_Africa_c6_high_h_sort = sortrows(South_Africa_c6_high_h,2); South_Africa_c7_low_l_sort = sortrows(South_Africa_c7_low_l,2); South_Africa_c7_high_l_sort = sortrows(South_Africa_c7_high_l,2); South_Africa_c7_low_h_sort = sortrows(South_Africa_c7_low_h,2); South_Africa_c7_high_h_sort = sortrows(South_Africa_c7_high_h,2); South_Africa_c89_low_l_sort = sortrows(South_Africa_c89_low_l,2); South_Africa_c89_high_l_sort = sortrows(South_Africa_c89_high_l,2); South_Africa_c89_low_h_sort = sortrows(South_Africa_c89_low_h,2); South_Africa_c89_high_h_sort = sortrows(South_Africa_c89_high_h,2); South_America_Northern_c4_low_l_sort = sortrows(South_America_Northern_c4_low_l,2); South_America_Northern_c4_high_l_sort = sortrows(South_America_Northern_c4_high_l,2); South_America_Northern_c4_low_h_sort = sortrows(South_America_Northern_c4_low_h,2); South_America_Northern_c4_high_h_sort = sortrows(South_America_Northern_c4_high_h,2); South_America_Northern_c5_low_l_sort = sortrows(South_America_Northern_c5_low_l,2); South_America_Northern_c5_high_l_sort = sortrows(South_America_Northern_c5_high_l,2); South_America_Northern_c5_low_h_sort = sortrows(South_America_Northern_c5_low_h,2); South_America_Northern_c5_high_h_sort = sortrows(South_America_Northern_c5_high_h,2); South_America_Northern_c6_low_l_sort = sortrows(South_America_Northern_c6_low_l,2); South_America_Northern_c6_high_l_sort = sortrows(South_America_Northern_c6_high_l,2); South_America_Northern_c6_low_h_sort = sortrows(South_America_Northern_c6_low_h,2); South_America_Northern_c6_high_h_sort = sortrows(South_America_Northern_c6_high_h,2); South_America_Northern_c7_low_l_sort = sortrows(South_America_Northern_c7_low_l,2); South_America_Northern_c7_high_l_sort = sortrows(South_America_Northern_c7_high_l,2); South_America_Northern_c7_low_h_sort = sortrows(South_America_Northern_c7_low_h,2); South_America_Northern_c7_high_h_sort = sortrows(South_America_Northern_c7_high_h,2); South_America_Northern_c89_low_l_sort = sortrows(South_America_Northern_c89_low_l,2); South_America_Northern_c89_high_l_sort = sortrows(South_America_Northern_c89_high_l,2); South_America_Northern_c89_low_h_sort = sortrows(South_America_Northern_c89_low_h,2); South_America_Northern_c89_high_h_sort = sortrows(South_America_Northern_c89_high_h,2); South_America_Southern_c4_low_l_sort = sortrows(South_America_Southern_c4_low_l,2); South_America_Southern_c4_high_l_sort = sortrows(South_America_Southern_c4_high_l,2); South_America_Southern_c4_low_h_sort = sortrows(South_America_Southern_c4_low_h,2); South_America_Southern_c4_high_h_sort = sortrows(South_America_Southern_c4_high_h,2); South_America_Southern_c5_low_l_sort = sortrows(South_America_Southern_c5_low_l,2); South_America_Southern_c5_high_l_sort = sortrows(South_America_Southern_c5_high_l,2); South_America_Southern_c5_low_h_sort = sortrows(South_America_Southern_c5_low_h,2); South_America_Southern_c5_high_h_sort = sortrows(South_America_Southern_c5_high_h,2); South_America_Southern_c6_low_l_sort = sortrows(South_America_Southern_c6_low_l,2); South_America_Southern_c6_high_l_sort = sortrows(South_America_Southern_c6_high_l,2); South_America_Southern_c6_low_h_sort = sortrows(South_America_Southern_c6_low_h,2); South_America_Southern_c6_high_h_sort = sortrows(South_America_Southern_c6_high_h,2); South_America_Southern_c7_low_l_sort = sortrows(South_America_Southern_c7_low_l,2); South_America_Southern_c7_high_l_sort = sortrows(South_America_Southern_c7_high_l,2); South_America_Southern_c7_low_h_sort = sortrows(South_America_Southern_c7_low_h,2); South_America_Southern_c7_high_h_sort = sortrows(South_America_Southern_c7_high_h,2); South_America_Southern_c89_low_l_sort = sortrows(South_America_Southern_c89_low_l,2); South_America_Southern_c89_high_l_sort = sortrows(South_America_Southern_c89_high_l,2); South_America_Southern_c89_low_h_sort = sortrows(South_America_Southern_c89_low_h,2); South_America_Southern_c89_high_h_sort = sortrows(South_America_Southern_c89_high_h,2); South_Asia_c4_low_l_sort = sortrows(South_Asia_c4_low_l,2); South_Asia_c4_high_l_sort = sortrows(South_Asia_c4_high_l,2); South_Asia_c4_low_h_sort = sortrows(South_Asia_c4_low_h,2); South_Asia_c4_high_h_sort = sortrows(South_Asia_c4_high_h,2); South_Asia_c5_low_l_sort = sortrows(South_Asia_c5_low_l,2); South_Asia_c5_high_l_sort = sortrows(South_Asia_c5_high_l,2); South_Asia_c5_low_h_sort = sortrows(South_Asia_c5_low_h,2); South_Asia_c5_high_h_sort = sortrows(South_Asia_c5_high_h,2); South_Asia_c6_low_l_sort = sortrows(South_Asia_c6_low_l,2); South_Asia_c6_high_l_sort = sortrows(South_Asia_c6_high_l,2); South_Asia_c6_low_h_sort = sortrows(South_Asia_c6_low_h,2); South_Asia_c6_high_h_sort = sortrows(South_Asia_c6_high_h,2); South_Asia_c7_low_l_sort = sortrows(South_Asia_c7_low_l,2); South_Asia_c7_high_l_sort = sortrows(South_Asia_c7_high_l,2); South_Asia_c7_low_h_sort = sortrows(South_Asia_c7_low_h,2); South_Asia_c7_high_h_sort = sortrows(South_Asia_c7_high_h,2); South_Asia_c89_low_l_sort = sortrows(South_Asia_c89_low_l,2); South_Asia_c89_high_l_sort = sortrows(South_Asia_c89_high_l,2); South_Asia_c89_low_h_sort = sortrows(South_Asia_c89_low_h,2); South_Asia_c89_high_h_sort = sortrows(South_Asia_c89_high_h,2); South_Korea_c4_low_l_sort = sortrows(South_Korea_c4_low_l,2); South_Korea_c4_high_l_sort = sortrows(South_Korea_c4_high_l,2); South_Korea_c4_low_h_sort = sortrows(South_Korea_c4_low_h,2); South_Korea_c4_high_h_sort = sortrows(South_Korea_c4_high_h,2); South_Korea_c5_low_l_sort = sortrows(South_Korea_c5_low_l,2); South_Korea_c5_high_l_sort = sortrows(South_Korea_c5_high_l,2); South_Korea_c5_low_h_sort = sortrows(South_Korea_c5_low_h,2); South_Korea_c5_high_h_sort = sortrows(South_Korea_c5_high_h,2); South_Korea_c6_low_l_sort = sortrows(South_Korea_c6_low_l,2); South_Korea_c6_high_l_sort = sortrows(South_Korea_c6_high_l,2); South_Korea_c6_low_h_sort = sortrows(South_Korea_c6_low_h,2); South_Korea_c6_high_h_sort = sortrows(South_Korea_c6_high_h,2); South_Korea_c7_low_l_sort = sortrows(South_Korea_c7_low_l,2); South_Korea_c7_high_l_sort = sortrows(South_Korea_c7_high_l,2); South_Korea_c7_low_h_sort = sortrows(South_Korea_c7_low_h,2); South_Korea_c7_high_h_sort = sortrows(South_Korea_c7_high_h,2); South_Korea_c89_low_l_sort = sortrows(South_Korea_c89_low_l,2); South_Korea_c89_high_l_sort = sortrows(South_Korea_c89_high_l,2); South_Korea_c89_low_h_sort = sortrows(South_Korea_c89_low_h,2); South_Korea_c89_high_h_sort = sortrows(South_Korea_c89_high_h,2); Southeast_Asia_c4_low_l_sort = sortrows(Southeast_Asia_c4_low_l,2); Southeast_Asia_c4_high_l_sort = sortrows(Southeast_Asia_c4_high_l,2); Southeast_Asia_c4_low_h_sort = sortrows(Southeast_Asia_c4_low_h,2); Southeast_Asia_c4_high_h_sort = sortrows(Southeast_Asia_c4_high_h,2); Southeast_Asia_c5_low_l_sort = sortrows(Southeast_Asia_c5_low_l,2); Southeast_Asia_c5_high_l_sort = sortrows(Southeast_Asia_c5_high_l,2); Southeast_Asia_c5_low_h_sort = sortrows(Southeast_Asia_c5_low_h,2); Southeast_Asia_c5_high_h_sort = sortrows(Southeast_Asia_c5_high_h,2); Southeast_Asia_c6_low_l_sort = sortrows(Southeast_Asia_c6_low_l,2); Southeast_Asia_c6_high_l_sort = sortrows(Southeast_Asia_c6_high_l,2); Southeast_Asia_c6_low_h_sort = sortrows(Southeast_Asia_c6_low_h,2); Southeast_Asia_c6_high_h_sort = sortrows(Southeast_Asia_c6_high_h,2); Southeast_Asia_c7_low_l_sort = sortrows(Southeast_Asia_c7_low_l,2); Southeast_Asia_c7_high_l_sort = sortrows(Southeast_Asia_c7_high_l,2); Southeast_Asia_c7_low_h_sort = sortrows(Southeast_Asia_c7_low_h,2); Southeast_Asia_c7_high_h_sort = sortrows(Southeast_Asia_c7_high_h,2); Southeast_Asia_c89_low_l_sort = sortrows(Southeast_Asia_c89_low_l,2); Southeast_Asia_c89_high_l_sort = sortrows(Southeast_Asia_c89_high_l,2); Southeast_Asia_c89_low_h_sort = sortrows(Southeast_Asia_c89_low_h,2); Southeast_Asia_c89_high_h_sort = sortrows(Southeast_Asia_c89_high_h,2); Taiwan_c4_low_l_sort = sortrows(Taiwan_c4_low_l,2); Taiwan_c4_high_l_sort = sortrows(Taiwan_c4_high_l,2); Taiwan_c4_low_h_sort = sortrows(Taiwan_c4_low_h,2); Taiwan_c4_high_h_sort = sortrows(Taiwan_c4_high_h,2); Taiwan_c5_low_l_sort = sortrows(Taiwan_c5_low_l,2); Taiwan_c5_high_l_sort = sortrows(Taiwan_c5_high_l,2); Taiwan_c5_low_h_sort = sortrows(Taiwan_c5_low_h,2); Taiwan_c5_high_h_sort = sortrows(Taiwan_c5_high_h,2); Taiwan_c6_low_l_sort = sortrows(Taiwan_c6_low_l,2); Taiwan_c6_high_l_sort = sortrows(Taiwan_c6_high_l,2); Taiwan_c6_low_h_sort = sortrows(Taiwan_c6_low_h,2); Taiwan_c6_high_h_sort = sortrows(Taiwan_c6_high_h,2); Taiwan_c7_low_l_sort = sortrows(Taiwan_c7_low_l,2); Taiwan_c7_high_l_sort = sortrows(Taiwan_c7_high_l,2); Taiwan_c7_low_h_sort = sortrows(Taiwan_c7_low_h,2); Taiwan_c7_high_h_sort = sortrows(Taiwan_c7_high_h,2); Taiwan_c89_low_l_sort = sortrows(Taiwan_c89_low_l,2); Taiwan_c89_high_l_sort = sortrows(Taiwan_c89_high_l,2); Taiwan_c89_low_h_sort = sortrows(Taiwan_c89_low_h,2); Taiwan_c89_high_h_sort = sortrows(Taiwan_c89_high_h,2); Argentina_c4_low_l_sort = sortrows(Argentina_c4_low_l,2); Argentina_c4_high_l_sort = sortrows(Argentina_c4_high_l,2); Argentina_c4_low_h_sort = sortrows(Argentina_c4_low_h,2); Argentina_c4_high_h_sort = sortrows(Argentina_c4_high_h,2); Argentina_c5_low_l_sort = sortrows(Argentina_c5_low_l,2); Argentina_c5_high_l_sort = sortrows(Argentina_c5_high_l,2); Argentina_c5_low_h_sort = sortrows(Argentina_c5_low_h,2); Argentina_c5_high_h_sort = sortrows(Argentina_c5_high_h,2); Argentina_c6_low_l_sort = sortrows(Argentina_c6_low_l,2); Argentina_c6_high_l_sort = sortrows(Argentina_c6_high_l,2); Argentina_c6_low_h_sort = sortrows(Argentina_c6_low_h,2); Argentina_c6_high_h_sort = sortrows(Argentina_c6_high_h,2); Argentina_c7_low_l_sort = sortrows(Argentina_c7_low_l,2); Argentina_c7_high_l_sort = sortrows(Argentina_c7_high_l,2); Argentina_c7_low_h_sort = sortrows(Argentina_c7_low_h,2); Argentina_c7_high_h_sort = sortrows(Argentina_c7_high_h,2); Argentina_c89_low_l_sort = sortrows(Argentina_c89_low_l,2); Argentina_c89_high_l_sort = sortrows(Argentina_c89_high_l,2); Argentina_c89_low_h_sort = sortrows(Argentina_c89_low_h,2); Argentina_c89_high_h_sort = sortrows(Argentina_c89_high_h,2); Columbia_c4_low_l_sort = sortrows(Columbia_c4_low_l,2); Columbia_c4_high_l_sort = sortrows(Columbia_c4_high_l,2); Columbia_c4_low_h_sort = sortrows(Columbia_c4_low_h,2); Columbia_c4_high_h_sort = sortrows(Columbia_c4_high_h,2); Columbia_c5_low_l_sort = sortrows(Columbia_c5_low_l,2); Columbia_c5_high_l_sort = sortrows(Columbia_c5_high_l,2); Columbia_c5_low_h_sort = sortrows(Columbia_c5_low_h,2); Columbia_c5_high_h_sort = sortrows(Columbia_c5_high_h,2); Columbia_c6_low_l_sort = sortrows(Columbia_c6_low_l,2); Columbia_c6_high_l_sort = sortrows(Columbia_c6_high_l,2); Columbia_c6_low_h_sort = sortrows(Columbia_c6_low_h,2); Columbia_c6_high_h_sort = sortrows(Columbia_c6_high_h,2); Columbia_c7_low_l_sort = sortrows(Columbia_c7_low_l,2); Columbia_c7_high_l_sort = sortrows(Columbia_c7_high_l,2); Columbia_c7_low_h_sort = sortrows(Columbia_c7_low_h,2); Columbia_c7_high_h_sort = sortrows(Columbia_c7_high_h,2); Columbia_c89_low_l_sort = sortrows(Columbia_c89_low_l,2); Columbia_c89_high_l_sort = sortrows(Columbia_c89_high_l,2); Columbia_c89_low_h_sort = sortrows(Columbia_c89_low_h,2); Columbia_c89_high_h_sort = sortrows(Columbia_c89_high_h,2); for i = 1:size(CA_1_low_l_sort,1); CA_1_low_l_cum(i,1) = sum(CA_1_low_l_sort(1:i,1)); CA_1_high_l_cum(i,1) = sum(CA_1_high_l_sort(1:i,1)); CA_1_low_h_cum(i,1) = sum(CA_1_low_h_sort(1:i,1)); CA_1_high_h_cum(i,1) = sum(CA_1_high_h_sort(1:i,1)); CA_2_low_l_cum(i,1) = sum(CA_2_low_l_sort(1:i,1)); CA_2_high_l_cum(i,1) = sum(CA_2_high_l_sort(1:i,1)); CA_2_low_h_cum(i,1) = sum(CA_2_low_h_sort(1:i,1)); CA_2_high_h_cum(i,1) = sum(CA_2_high_h_sort(1:i,1)); CA_3_low_l_cum(i,1) = sum(CA_3_low_l_sort(1:i,1)); CA_3_high_l_cum(i,1) = sum(CA_3_high_l_sort(1:i,1)); CA_3_low_h_cum(i,1) = sum(CA_3_low_h_sort(1:i,1)); CA_3_high_h_cum(i,1) = sum(CA_3_high_h_sort(1:i,1)); CA_4_low_l_cum(i,1) = sum(CA_4_low_l_sort(1:i,1)); CA_4_high_l_cum(i,1) = sum(CA_4_high_l_sort(1:i,1)); CA_4_low_h_cum(i,1) = sum(CA_4_low_h_sort(1:i,1)); CA_4_high_h_cum(i,1) = sum(CA_4_high_h_sort(1:i,1)); CA_5_low_l_cum(i,1) = sum(CA_5_low_l_sort(1:i,1)); CA_5_high_l_cum(i,1) = sum(CA_5_high_l_sort(1:i,1)); CA_5_low_h_cum(i,1) = sum(CA_5_low_h_sort(1:i,1)); CA_5_high_h_cum(i,1) = sum(CA_5_high_h_sort(1:i,1)); CA_6_low_l_cum(i,1) = sum(CA_6_low_l_sort(1:i,1)); CA_6_high_l_cum(i,1) = sum(CA_6_high_l_sort(1:i,1)); CA_6_low_h_cum(i,1) = sum(CA_6_low_h_sort(1:i,1)); CA_6_high_h_cum(i,1) = sum(CA_6_high_h_sort(1:i,1)); CA_7_low_l_cum(i,1) = sum(CA_7_low_l_sort(1:i,1)); CA_7_high_l_cum(i,1) = sum(CA_7_high_l_sort(1:i,1)); CA_7_low_h_cum(i,1) = sum(CA_7_low_h_sort(1:i,1)); CA_7_high_h_cum(i,1) = sum(CA_7_high_h_sort(1:i,1)); CT_1_low_l_cum(i,1) = sum(CT_1_low_l_sort(1:i,1)); CT_1_high_l_cum(i,1) = sum(CT_1_high_l_sort(1:i,1)); CT_1_low_h_cum(i,1) = sum(CT_1_low_h_sort(1:i,1)); CT_1_high_h_cum(i,1) = sum(CT_1_high_h_sort(1:i,1)); CT_2_low_l_cum(i,1) = sum(CT_2_low_l_sort(1:i,1)); CT_2_high_l_cum(i,1) = sum(CT_2_high_l_sort(1:i,1)); CT_2_low_h_cum(i,1) = sum(CT_2_low_h_sort(1:i,1)); CT_2_high_h_cum(i,1) = sum(CT_2_high_h_sort(1:i,1)); CT_3_low_l_cum(i,1) = sum(CT_3_low_l_sort(1:i,1)); CT_3_high_l_cum(i,1) = sum(CT_3_high_l_sort(1:i,1)); CT_3_low_h_cum(i,1) = sum(CT_3_low_h_sort(1:i,1)); CT_3_high_h_cum(i,1) = sum(CT_3_high_h_sort(1:i,1)); CT_4_low_l_cum(i,1) = sum(CT_4_low_l_sort(1:i,1)); CT_4_high_l_cum(i,1) = sum(CT_4_high_l_sort(1:i,1)); CT_4_low_h_cum(i,1) = sum(CT_4_low_h_sort(1:i,1)); CT_4_high_h_cum(i,1) = sum(CT_4_high_h_sort(1:i,1)); CT_5_low_l_cum(i,1) = sum(CT_5_low_l_sort(1:i,1)); CT_5_high_l_cum(i,1) = sum(CT_5_high_l_sort(1:i,1)); CT_5_low_h_cum(i,1) = sum(CT_5_low_h_sort(1:i,1)); CT_5_high_h_cum(i,1) = sum(CT_5_high_h_sort(1:i,1)); CT_6_low_l_cum(i,1) = sum(CT_6_low_l_sort(1:i,1)); CT_6_high_l_cum(i,1) = sum(CT_6_high_l_sort(1:i,1)); CT_6_low_h_cum(i,1) = sum(CT_6_low_h_sort(1:i,1)); CT_6_high_h_cum(i,1) = sum(CT_6_high_h_sort(1:i,1)); CT_7_low_l_cum(i,1) = sum(CT_7_low_l_sort(1:i,1)); CT_7_high_l_cum(i,1) = sum(CT_7_high_l_sort(1:i,1)); CT_7_low_h_cum(i,1) = sum(CT_7_low_h_sort(1:i,1)); CT_7_high_h_cum(i,1) = sum(CT_7_high_h_sort(1:i,1)); DE_1_low_l_cum(i,1) = sum(DE_1_low_l_sort(1:i,1)); DE_1_high_l_cum(i,1) = sum(DE_1_high_l_sort(1:i,1)); DE_1_low_h_cum(i,1) = sum(DE_1_low_h_sort(1:i,1)); DE_1_high_h_cum(i,1) = sum(DE_1_high_h_sort(1:i,1)); DE_2_low_l_cum(i,1) = sum(DE_2_low_l_sort(1:i,1)); DE_2_high_l_cum(i,1) = sum(DE_2_high_l_sort(1:i,1)); DE_2_low_h_cum(i,1) = sum(DE_2_low_h_sort(1:i,1)); DE_2_high_h_cum(i,1) = sum(DE_2_high_h_sort(1:i,1)); DE_3_low_l_cum(i,1) = sum(DE_3_low_l_sort(1:i,1)); DE_3_high_l_cum(i,1) = sum(DE_3_high_l_sort(1:i,1)); DE_3_low_h_cum(i,1) = sum(DE_3_low_h_sort(1:i,1)); DE_3_high_h_cum(i,1) = sum(DE_3_high_h_sort(1:i,1)); DE_4_low_l_cum(i,1) = sum(DE_4_low_l_sort(1:i,1)); DE_4_high_l_cum(i,1) = sum(DE_4_high_l_sort(1:i,1)); DE_4_low_h_cum(i,1) = sum(DE_4_low_h_sort(1:i,1)); DE_4_high_h_cum(i,1) = sum(DE_4_high_h_sort(1:i,1)); DE_5_low_l_cum(i,1) = sum(DE_5_low_l_sort(1:i,1)); DE_5_high_l_cum(i,1) = sum(DE_5_high_l_sort(1:i,1)); DE_5_low_h_cum(i,1) = sum(DE_5_low_h_sort(1:i,1)); DE_5_high_h_cum(i,1) = sum(DE_5_high_h_sort(1:i,1)); DE_6_low_l_cum(i,1) = sum(DE_6_low_l_sort(1:i,1)); DE_6_high_l_cum(i,1) = sum(DE_6_high_l_sort(1:i,1)); DE_6_low_h_cum(i,1) = sum(DE_6_low_h_sort(1:i,1)); DE_6_high_h_cum(i,1) = sum(DE_6_high_h_sort(1:i,1)); DE_7_low_l_cum(i,1) = sum(DE_7_low_l_sort(1:i,1)); DE_7_high_l_cum(i,1) = sum(DE_7_high_l_sort(1:i,1)); DE_7_low_h_cum(i,1) = sum(DE_7_low_h_sort(1:i,1)); DE_7_high_h_cum(i,1) = sum(DE_7_high_h_sort(1:i,1)); GA_1_low_l_cum(i,1) = sum(GA_1_low_l_sort(1:i,1)); GA_1_high_l_cum(i,1) = sum(GA_1_high_l_sort(1:i,1)); GA_1_low_h_cum(i,1) = sum(GA_1_low_h_sort(1:i,1)); GA_1_high_h_cum(i,1) = sum(GA_1_high_h_sort(1:i,1)); GA_2_low_l_cum(i,1) = sum(GA_2_low_l_sort(1:i,1)); GA_2_high_l_cum(i,1) = sum(GA_2_high_l_sort(1:i,1)); GA_2_low_h_cum(i,1) = sum(GA_2_low_h_sort(1:i,1)); GA_2_high_h_cum(i,1) = sum(GA_2_high_h_sort(1:i,1)); GA_3_low_l_cum(i,1) = sum(GA_3_low_l_sort(1:i,1)); GA_3_high_l_cum(i,1) = sum(GA_3_high_l_sort(1:i,1)); GA_3_low_h_cum(i,1) = sum(GA_3_low_h_sort(1:i,1)); GA_3_high_h_cum(i,1) = sum(GA_3_high_h_sort(1:i,1)); GA_4_low_l_cum(i,1) = sum(GA_4_low_l_sort(1:i,1)); GA_4_high_l_cum(i,1) = sum(GA_4_high_l_sort(1:i,1)); GA_4_low_h_cum(i,1) = sum(GA_4_low_h_sort(1:i,1)); GA_4_high_h_cum(i,1) = sum(GA_4_high_h_sort(1:i,1)); GA_5_low_l_cum(i,1) = sum(GA_5_low_l_sort(1:i,1)); GA_5_high_l_cum(i,1) = sum(GA_5_high_l_sort(1:i,1)); GA_5_low_h_cum(i,1) = sum(GA_5_low_h_sort(1:i,1)); GA_5_high_h_cum(i,1) = sum(GA_5_high_h_sort(1:i,1)); GA_6_low_l_cum(i,1) = sum(GA_6_low_l_sort(1:i,1)); GA_6_high_l_cum(i,1) = sum(GA_6_high_l_sort(1:i,1)); GA_6_low_h_cum(i,1) = sum(GA_6_low_h_sort(1:i,1)); GA_6_high_h_cum(i,1) = sum(GA_6_high_h_sort(1:i,1)); GA_7_low_l_cum(i,1) = sum(GA_7_low_l_sort(1:i,1)); GA_7_high_l_cum(i,1) = sum(GA_7_high_l_sort(1:i,1)); GA_7_low_h_cum(i,1) = sum(GA_7_low_h_sort(1:i,1)); GA_7_high_h_cum(i,1) = sum(GA_7_high_h_sort(1:i,1)); HI_1_low_l_cum(i,1) = sum(HI_1_low_l_sort(1:i,1)); HI_1_high_l_cum(i,1) = sum(HI_1_high_l_sort(1:i,1)); HI_1_low_h_cum(i,1) = sum(HI_1_low_h_sort(1:i,1)); HI_1_high_h_cum(i,1) = sum(HI_1_high_h_sort(1:i,1)); HI_2_low_l_cum(i,1) = sum(HI_2_low_l_sort(1:i,1)); HI_2_high_l_cum(i,1) = sum(HI_2_high_l_sort(1:i,1)); HI_2_low_h_cum(i,1) = sum(HI_2_low_h_sort(1:i,1)); HI_2_high_h_cum(i,1) = sum(HI_2_high_h_sort(1:i,1)); HI_3_low_l_cum(i,1) = sum(HI_3_low_l_sort(1:i,1)); HI_3_high_l_cum(i,1) = sum(HI_3_high_l_sort(1:i,1)); HI_3_low_h_cum(i,1) = sum(HI_3_low_h_sort(1:i,1)); HI_3_high_h_cum(i,1) = sum(HI_3_high_h_sort(1:i,1)); HI_4_low_l_cum(i,1) = sum(HI_4_low_l_sort(1:i,1)); HI_4_high_l_cum(i,1) = sum(HI_4_high_l_sort(1:i,1)); HI_4_low_h_cum(i,1) = sum(HI_4_low_h_sort(1:i,1)); HI_4_high_h_cum(i,1) = sum(HI_4_high_h_sort(1:i,1)); HI_5_low_l_cum(i,1) = sum(HI_5_low_l_sort(1:i,1)); HI_5_high_l_cum(i,1) = sum(HI_5_high_l_sort(1:i,1)); HI_5_low_h_cum(i,1) = sum(HI_5_low_h_sort(1:i,1)); HI_5_high_h_cum(i,1) = sum(HI_5_high_h_sort(1:i,1)); HI_6_low_l_cum(i,1) = sum(HI_6_low_l_sort(1:i,1)); HI_6_high_l_cum(i,1) = sum(HI_6_high_l_sort(1:i,1)); HI_6_low_h_cum(i,1) = sum(HI_6_low_h_sort(1:i,1)); HI_6_high_h_cum(i,1) = sum(HI_6_high_h_sort(1:i,1)); HI_7_low_l_cum(i,1) = sum(HI_7_low_l_sort(1:i,1)); HI_7_high_l_cum(i,1) = sum(HI_7_high_l_sort(1:i,1)); HI_7_low_h_cum(i,1) = sum(HI_7_low_h_sort(1:i,1)); HI_7_high_h_cum(i,1) = sum(HI_7_high_h_sort(1:i,1)); IL_1_low_l_cum(i,1) = sum(IL_1_low_l_sort(1:i,1)); IL_1_high_l_cum(i,1) = sum(IL_1_high_l_sort(1:i,1)); IL_1_low_h_cum(i,1) = sum(IL_1_low_h_sort(1:i,1)); IL_1_high_h_cum(i,1) = sum(IL_1_high_h_sort(1:i,1)); IL_2_low_l_cum(i,1) = sum(IL_2_low_l_sort(1:i,1)); IL_2_high_l_cum(i,1) = sum(IL_2_high_l_sort(1:i,1)); IL_2_low_h_cum(i,1) = sum(IL_2_low_h_sort(1:i,1)); IL_2_high_h_cum(i,1) = sum(IL_2_high_h_sort(1:i,1)); IL_3_low_l_cum(i,1) = sum(IL_3_low_l_sort(1:i,1)); IL_3_high_l_cum(i,1) = sum(IL_3_high_l_sort(1:i,1)); IL_3_low_h_cum(i,1) = sum(IL_3_low_h_sort(1:i,1)); IL_3_high_h_cum(i,1) = sum(IL_3_high_h_sort(1:i,1)); IL_4_low_l_cum(i,1) = sum(IL_4_low_l_sort(1:i,1)); IL_4_high_l_cum(i,1) = sum(IL_4_high_l_sort(1:i,1)); IL_4_low_h_cum(i,1) = sum(IL_4_low_h_sort(1:i,1)); IL_4_high_h_cum(i,1) = sum(IL_4_high_h_sort(1:i,1)); IL_5_low_l_cum(i,1) = sum(IL_5_low_l_sort(1:i,1)); IL_5_high_l_cum(i,1) = sum(IL_5_high_l_sort(1:i,1)); IL_5_low_h_cum(i,1) = sum(IL_5_low_h_sort(1:i,1)); IL_5_high_h_cum(i,1) = sum(IL_5_high_h_sort(1:i,1)); IL_6_low_l_cum(i,1) = sum(IL_6_low_l_sort(1:i,1)); IL_6_high_l_cum(i,1) = sum(IL_6_high_l_sort(1:i,1)); IL_6_low_h_cum(i,1) = sum(IL_6_low_h_sort(1:i,1)); IL_6_high_h_cum(i,1) = sum(IL_6_high_h_sort(1:i,1)); IL_7_low_l_cum(i,1) = sum(IL_7_low_l_sort(1:i,1)); IL_7_high_l_cum(i,1) = sum(IL_7_high_l_sort(1:i,1)); IL_7_low_h_cum(i,1) = sum(IL_7_low_h_sort(1:i,1)); IL_7_high_h_cum(i,1) = sum(IL_7_high_h_sort(1:i,1)); IN_1_low_l_cum(i,1) = sum(IN_1_low_l_sort(1:i,1)); IN_1_high_l_cum(i,1) = sum(IN_1_high_l_sort(1:i,1)); IN_1_low_h_cum(i,1) = sum(IN_1_low_h_sort(1:i,1)); IN_1_high_h_cum(i,1) = sum(IN_1_high_h_sort(1:i,1)); IN_2_low_l_cum(i,1) = sum(IN_2_low_l_sort(1:i,1)); IN_2_high_l_cum(i,1) = sum(IN_2_high_l_sort(1:i,1)); IN_2_low_h_cum(i,1) = sum(IN_2_low_h_sort(1:i,1)); IN_2_high_h_cum(i,1) = sum(IN_2_high_h_sort(1:i,1)); IN_3_low_l_cum(i,1) = sum(IN_3_low_l_sort(1:i,1)); IN_3_high_l_cum(i,1) = sum(IN_3_high_l_sort(1:i,1)); IN_3_low_h_cum(i,1) = sum(IN_3_low_h_sort(1:i,1)); IN_3_high_h_cum(i,1) = sum(IN_3_high_h_sort(1:i,1)); IN_4_low_l_cum(i,1) = sum(IN_4_low_l_sort(1:i,1)); IN_4_high_l_cum(i,1) = sum(IN_4_high_l_sort(1:i,1)); IN_4_low_h_cum(i,1) = sum(IN_4_low_h_sort(1:i,1)); IN_4_high_h_cum(i,1) = sum(IN_4_high_h_sort(1:i,1)); IN_5_low_l_cum(i,1) = sum(IN_5_low_l_sort(1:i,1)); IN_5_high_l_cum(i,1) = sum(IN_5_high_l_sort(1:i,1)); IN_5_low_h_cum(i,1) = sum(IN_5_low_h_sort(1:i,1)); IN_5_high_h_cum(i,1) = sum(IN_5_high_h_sort(1:i,1)); IN_6_low_l_cum(i,1) = sum(IN_6_low_l_sort(1:i,1)); IN_6_high_l_cum(i,1) = sum(IN_6_high_l_sort(1:i,1)); IN_6_low_h_cum(i,1) = sum(IN_6_low_h_sort(1:i,1)); IN_6_high_h_cum(i,1) = sum(IN_6_high_h_sort(1:i,1)); IN_7_low_l_cum(i,1) = sum(IN_7_low_l_sort(1:i,1)); IN_7_high_l_cum(i,1) = sum(IN_7_high_l_sort(1:i,1)); IN_7_low_h_cum(i,1) = sum(IN_7_low_h_sort(1:i,1)); IN_7_high_h_cum(i,1) = sum(IN_7_high_h_sort(1:i,1)); LA_1_low_l_cum(i,1) = sum(LA_1_low_l_sort(1:i,1)); LA_1_high_l_cum(i,1) = sum(LA_1_high_l_sort(1:i,1)); LA_1_low_h_cum(i,1) = sum(LA_1_low_h_sort(1:i,1)); LA_1_high_h_cum(i,1) = sum(LA_1_high_h_sort(1:i,1)); LA_2_low_l_cum(i,1) = sum(LA_2_low_l_sort(1:i,1)); LA_2_high_l_cum(i,1) = sum(LA_2_high_l_sort(1:i,1)); LA_2_low_h_cum(i,1) = sum(LA_2_low_h_sort(1:i,1)); LA_2_high_h_cum(i,1) = sum(LA_2_high_h_sort(1:i,1)); LA_3_low_l_cum(i,1) = sum(LA_3_low_l_sort(1:i,1)); LA_3_high_l_cum(i,1) = sum(LA_3_high_l_sort(1:i,1)); LA_3_low_h_cum(i,1) = sum(LA_3_low_h_sort(1:i,1)); LA_3_high_h_cum(i,1) = sum(LA_3_high_h_sort(1:i,1)); LA_4_low_l_cum(i,1) = sum(LA_4_low_l_sort(1:i,1)); LA_4_high_l_cum(i,1) = sum(LA_4_high_l_sort(1:i,1)); LA_4_low_h_cum(i,1) = sum(LA_4_low_h_sort(1:i,1)); LA_4_high_h_cum(i,1) = sum(LA_4_high_h_sort(1:i,1)); LA_5_low_l_cum(i,1) = sum(LA_5_low_l_sort(1:i,1)); LA_5_high_l_cum(i,1) = sum(LA_5_high_l_sort(1:i,1)); LA_5_low_h_cum(i,1) = sum(LA_5_low_h_sort(1:i,1)); LA_5_high_h_cum(i,1) = sum(LA_5_high_h_sort(1:i,1)); LA_6_low_l_cum(i,1) = sum(LA_6_low_l_sort(1:i,1)); LA_6_high_l_cum(i,1) = sum(LA_6_high_l_sort(1:i,1)); LA_6_low_h_cum(i,1) = sum(LA_6_low_h_sort(1:i,1)); LA_6_high_h_cum(i,1) = sum(LA_6_high_h_sort(1:i,1)); LA_7_low_l_cum(i,1) = sum(LA_7_low_l_sort(1:i,1)); LA_7_high_l_cum(i,1) = sum(LA_7_high_l_sort(1:i,1)); LA_7_low_h_cum(i,1) = sum(LA_7_low_h_sort(1:i,1)); LA_7_high_h_cum(i,1) = sum(LA_7_high_h_sort(1:i,1)); ME_1_low_l_cum(i,1) = sum(ME_1_low_l_sort(1:i,1)); ME_1_high_l_cum(i,1) = sum(ME_1_high_l_sort(1:i,1)); ME_1_low_h_cum(i,1) = sum(ME_1_low_h_sort(1:i,1)); ME_1_high_h_cum(i,1) = sum(ME_1_high_h_sort(1:i,1)); ME_2_low_l_cum(i,1) = sum(ME_2_low_l_sort(1:i,1)); ME_2_high_l_cum(i,1) = sum(ME_2_high_l_sort(1:i,1)); ME_2_low_h_cum(i,1) = sum(ME_2_low_h_sort(1:i,1)); ME_2_high_h_cum(i,1) = sum(ME_2_high_h_sort(1:i,1)); ME_3_low_l_cum(i,1) = sum(ME_3_low_l_sort(1:i,1)); ME_3_high_l_cum(i,1) = sum(ME_3_high_l_sort(1:i,1)); ME_3_low_h_cum(i,1) = sum(ME_3_low_h_sort(1:i,1)); ME_3_high_h_cum(i,1) = sum(ME_3_high_h_sort(1:i,1)); ME_4_low_l_cum(i,1) = sum(ME_4_low_l_sort(1:i,1)); ME_4_high_l_cum(i,1) = sum(ME_4_high_l_sort(1:i,1)); ME_4_low_h_cum(i,1) = sum(ME_4_low_h_sort(1:i,1)); ME_4_high_h_cum(i,1) = sum(ME_4_high_h_sort(1:i,1)); ME_5_low_l_cum(i,1) = sum(ME_5_low_l_sort(1:i,1)); ME_5_high_l_cum(i,1) = sum(ME_5_high_l_sort(1:i,1)); ME_5_low_h_cum(i,1) = sum(ME_5_low_h_sort(1:i,1)); ME_5_high_h_cum(i,1) = sum(ME_5_high_h_sort(1:i,1)); ME_6_low_l_cum(i,1) = sum(ME_6_low_l_sort(1:i,1)); ME_6_high_l_cum(i,1) = sum(ME_6_high_l_sort(1:i,1)); ME_6_low_h_cum(i,1) = sum(ME_6_low_h_sort(1:i,1)); ME_6_high_h_cum(i,1) = sum(ME_6_high_h_sort(1:i,1)); ME_7_low_l_cum(i,1) = sum(ME_7_low_l_sort(1:i,1)); ME_7_high_l_cum(i,1) = sum(ME_7_high_l_sort(1:i,1)); ME_7_low_h_cum(i,1) = sum(ME_7_low_h_sort(1:i,1)); ME_7_high_h_cum(i,1) = sum(ME_7_high_h_sort(1:i,1)); MA_1_low_l_cum(i,1) = sum(MA_1_low_l_sort(1:i,1)); MA_1_high_l_cum(i,1) = sum(MA_1_high_l_sort(1:i,1)); MA_1_low_h_cum(i,1) = sum(MA_1_low_h_sort(1:i,1)); MA_1_high_h_cum(i,1) = sum(MA_1_high_h_sort(1:i,1)); MA_2_low_l_cum(i,1) = sum(MA_2_low_l_sort(1:i,1)); MA_2_high_l_cum(i,1) = sum(MA_2_high_l_sort(1:i,1)); MA_2_low_h_cum(i,1) = sum(MA_2_low_h_sort(1:i,1)); MA_2_high_h_cum(i,1) = sum(MA_2_high_h_sort(1:i,1)); MA_3_low_l_cum(i,1) = sum(MA_3_low_l_sort(1:i,1)); MA_3_high_l_cum(i,1) = sum(MA_3_high_l_sort(1:i,1)); MA_3_low_h_cum(i,1) = sum(MA_3_low_h_sort(1:i,1)); MA_3_high_h_cum(i,1) = sum(MA_3_high_h_sort(1:i,1)); MA_4_low_l_cum(i,1) = sum(MA_4_low_l_sort(1:i,1)); MA_4_high_l_cum(i,1) = sum(MA_4_high_l_sort(1:i,1)); MA_4_low_h_cum(i,1) = sum(MA_4_low_h_sort(1:i,1)); MA_4_high_h_cum(i,1) = sum(MA_4_high_h_sort(1:i,1)); MA_5_low_l_cum(i,1) = sum(MA_5_low_l_sort(1:i,1)); MA_5_high_l_cum(i,1) = sum(MA_5_high_l_sort(1:i,1)); MA_5_low_h_cum(i,1) = sum(MA_5_low_h_sort(1:i,1)); MA_5_high_h_cum(i,1) = sum(MA_5_high_h_sort(1:i,1)); MA_6_low_l_cum(i,1) = sum(MA_6_low_l_sort(1:i,1)); MA_6_high_l_cum(i,1) = sum(MA_6_high_l_sort(1:i,1)); MA_6_low_h_cum(i,1) = sum(MA_6_low_h_sort(1:i,1)); MA_6_high_h_cum(i,1) = sum(MA_6_high_h_sort(1:i,1)); MA_7_low_l_cum(i,1) = sum(MA_7_low_l_sort(1:i,1)); MA_7_high_l_cum(i,1) = sum(MA_7_high_l_sort(1:i,1)); MA_7_low_h_cum(i,1) = sum(MA_7_low_h_sort(1:i,1)); MA_7_high_h_cum(i,1) = sum(MA_7_high_h_sort(1:i,1)); MD_1_low_l_cum(i,1) = sum(MD_1_low_l_sort(1:i,1)); MD_1_high_l_cum(i,1) = sum(MD_1_high_l_sort(1:i,1)); MD_1_low_h_cum(i,1) = sum(MD_1_low_h_sort(1:i,1)); MD_1_high_h_cum(i,1) = sum(MD_1_high_h_sort(1:i,1)); MD_2_low_l_cum(i,1) = sum(MD_2_low_l_sort(1:i,1)); MD_2_high_l_cum(i,1) = sum(MD_2_high_l_sort(1:i,1)); MD_2_low_h_cum(i,1) = sum(MD_2_low_h_sort(1:i,1)); MD_2_high_h_cum(i,1) = sum(MD_2_high_h_sort(1:i,1)); MD_3_low_l_cum(i,1) = sum(MD_3_low_l_sort(1:i,1)); MD_3_high_l_cum(i,1) = sum(MD_3_high_l_sort(1:i,1)); MD_3_low_h_cum(i,1) = sum(MD_3_low_h_sort(1:i,1)); MD_3_high_h_cum(i,1) = sum(MD_3_high_h_sort(1:i,1)); MD_4_low_l_cum(i,1) = sum(MD_4_low_l_sort(1:i,1)); MD_4_high_l_cum(i,1) = sum(MD_4_high_l_sort(1:i,1)); MD_4_low_h_cum(i,1) = sum(MD_4_low_h_sort(1:i,1)); MD_4_high_h_cum(i,1) = sum(MD_4_high_h_sort(1:i,1)); MD_5_low_l_cum(i,1) = sum(MD_5_low_l_sort(1:i,1)); MD_5_high_l_cum(i,1) = sum(MD_5_high_l_sort(1:i,1)); MD_5_low_h_cum(i,1) = sum(MD_5_low_h_sort(1:i,1)); MD_5_high_h_cum(i,1) = sum(MD_5_high_h_sort(1:i,1)); MD_6_low_l_cum(i,1) = sum(MD_6_low_l_sort(1:i,1)); MD_6_high_l_cum(i,1) = sum(MD_6_high_l_sort(1:i,1)); MD_6_low_h_cum(i,1) = sum(MD_6_low_h_sort(1:i,1)); MD_6_high_h_cum(i,1) = sum(MD_6_high_h_sort(1:i,1)); MD_7_low_l_cum(i,1) = sum(MD_7_low_l_sort(1:i,1)); MD_7_high_l_cum(i,1) = sum(MD_7_high_l_sort(1:i,1)); MD_7_low_h_cum(i,1) = sum(MD_7_low_h_sort(1:i,1)); MD_7_high_h_cum(i,1) = sum(MD_7_high_h_sort(1:i,1)); MI_1_low_l_cum(i,1) = sum(MI_1_low_l_sort(1:i,1)); MI_1_high_l_cum(i,1) = sum(MI_1_high_l_sort(1:i,1)); MI_1_low_h_cum(i,1) = sum(MI_1_low_h_sort(1:i,1)); MI_1_high_h_cum(i,1) = sum(MI_1_high_h_sort(1:i,1)); MI_2_low_l_cum(i,1) = sum(MI_2_low_l_sort(1:i,1)); MI_2_high_l_cum(i,1) = sum(MI_2_high_l_sort(1:i,1)); MI_2_low_h_cum(i,1) = sum(MI_2_low_h_sort(1:i,1)); MI_2_high_h_cum(i,1) = sum(MI_2_high_h_sort(1:i,1)); MI_3_low_l_cum(i,1) = sum(MI_3_low_l_sort(1:i,1)); MI_3_high_l_cum(i,1) = sum(MI_3_high_l_sort(1:i,1)); MI_3_low_h_cum(i,1) = sum(MI_3_low_h_sort(1:i,1)); MI_3_high_h_cum(i,1) = sum(MI_3_high_h_sort(1:i,1)); MI_4_low_l_cum(i,1) = sum(MI_4_low_l_sort(1:i,1)); MI_4_high_l_cum(i,1) = sum(MI_4_high_l_sort(1:i,1)); MI_4_low_h_cum(i,1) = sum(MI_4_low_h_sort(1:i,1)); MI_4_high_h_cum(i,1) = sum(MI_4_high_h_sort(1:i,1)); MI_5_low_l_cum(i,1) = sum(MI_5_low_l_sort(1:i,1)); MI_5_high_l_cum(i,1) = sum(MI_5_high_l_sort(1:i,1)); MI_5_low_h_cum(i,1) = sum(MI_5_low_h_sort(1:i,1)); MI_5_high_h_cum(i,1) = sum(MI_5_high_h_sort(1:i,1)); MI_6_low_l_cum(i,1) = sum(MI_6_low_l_sort(1:i,1)); MI_6_high_l_cum(i,1) = sum(MI_6_high_l_sort(1:i,1)); MI_6_low_h_cum(i,1) = sum(MI_6_low_h_sort(1:i,1)); MI_6_high_h_cum(i,1) = sum(MI_6_high_h_sort(1:i,1)); MI_7_low_l_cum(i,1) = sum(MI_7_low_l_sort(1:i,1)); MI_7_high_l_cum(i,1) = sum(MI_7_high_l_sort(1:i,1)); MI_7_low_h_cum(i,1) = sum(MI_7_low_h_sort(1:i,1)); MI_7_high_h_cum(i,1) = sum(MI_7_high_h_sort(1:i,1)); MN_1_low_l_cum(i,1) = sum(MN_1_low_l_sort(1:i,1)); MN_1_high_l_cum(i,1) = sum(MN_1_high_l_sort(1:i,1)); MN_1_low_h_cum(i,1) = sum(MN_1_low_h_sort(1:i,1)); MN_1_high_h_cum(i,1) = sum(MN_1_high_h_sort(1:i,1)); MN_2_low_l_cum(i,1) = sum(MN_2_low_l_sort(1:i,1)); MN_2_high_l_cum(i,1) = sum(MN_2_high_l_sort(1:i,1)); MN_2_low_h_cum(i,1) = sum(MN_2_low_h_sort(1:i,1)); MN_2_high_h_cum(i,1) = sum(MN_2_high_h_sort(1:i,1)); MN_3_low_l_cum(i,1) = sum(MN_3_low_l_sort(1:i,1)); MN_3_high_l_cum(i,1) = sum(MN_3_high_l_sort(1:i,1)); MN_3_low_h_cum(i,1) = sum(MN_3_low_h_sort(1:i,1)); MN_3_high_h_cum(i,1) = sum(MN_3_high_h_sort(1:i,1)); MN_4_low_l_cum(i,1) = sum(MN_4_low_l_sort(1:i,1)); MN_4_high_l_cum(i,1) = sum(MN_4_high_l_sort(1:i,1)); MN_4_low_h_cum(i,1) = sum(MN_4_low_h_sort(1:i,1)); MN_4_high_h_cum(i,1) = sum(MN_4_high_h_sort(1:i,1)); MN_5_low_l_cum(i,1) = sum(MN_5_low_l_sort(1:i,1)); MN_5_high_l_cum(i,1) = sum(MN_5_high_l_sort(1:i,1)); MN_5_low_h_cum(i,1) = sum(MN_5_low_h_sort(1:i,1)); MN_5_high_h_cum(i,1) = sum(MN_5_high_h_sort(1:i,1)); MN_6_low_l_cum(i,1) = sum(MN_6_low_l_sort(1:i,1)); MN_6_high_l_cum(i,1) = sum(MN_6_high_l_sort(1:i,1)); MN_6_low_h_cum(i,1) = sum(MN_6_low_h_sort(1:i,1)); MN_6_high_h_cum(i,1) = sum(MN_6_high_h_sort(1:i,1)); MN_7_low_l_cum(i,1) = sum(MN_7_low_l_sort(1:i,1)); MN_7_high_l_cum(i,1) = sum(MN_7_high_l_sort(1:i,1)); MN_7_low_h_cum(i,1) = sum(MN_7_low_h_sort(1:i,1)); MN_7_high_h_cum(i,1) = sum(MN_7_high_h_sort(1:i,1)); NH_1_low_l_cum(i,1) = sum(NH_1_low_l_sort(1:i,1)); NH_1_high_l_cum(i,1) = sum(NH_1_high_l_sort(1:i,1)); NH_1_low_h_cum(i,1) = sum(NH_1_low_h_sort(1:i,1)); NH_1_high_h_cum(i,1) = sum(NH_1_high_h_sort(1:i,1)); NH_2_low_l_cum(i,1) = sum(NH_2_low_l_sort(1:i,1)); NH_2_high_l_cum(i,1) = sum(NH_2_high_l_sort(1:i,1)); NH_2_low_h_cum(i,1) = sum(NH_2_low_h_sort(1:i,1)); NH_2_high_h_cum(i,1) = sum(NH_2_high_h_sort(1:i,1)); NH_3_low_l_cum(i,1) = sum(NH_3_low_l_sort(1:i,1)); NH_3_high_l_cum(i,1) = sum(NH_3_high_l_sort(1:i,1)); NH_3_low_h_cum(i,1) = sum(NH_3_low_h_sort(1:i,1)); NH_3_high_h_cum(i,1) = sum(NH_3_high_h_sort(1:i,1)); NH_4_low_l_cum(i,1) = sum(NH_4_low_l_sort(1:i,1)); NH_4_high_l_cum(i,1) = sum(NH_4_high_l_sort(1:i,1)); NH_4_low_h_cum(i,1) = sum(NH_4_low_h_sort(1:i,1)); NH_4_high_h_cum(i,1) = sum(NH_4_high_h_sort(1:i,1)); NH_5_low_l_cum(i,1) = sum(NH_5_low_l_sort(1:i,1)); NH_5_high_l_cum(i,1) = sum(NH_5_high_l_sort(1:i,1)); NH_5_low_h_cum(i,1) = sum(NH_5_low_h_sort(1:i,1)); NH_5_high_h_cum(i,1) = sum(NH_5_high_h_sort(1:i,1)); NH_6_low_l_cum(i,1) = sum(NH_6_low_l_sort(1:i,1)); NH_6_high_l_cum(i,1) = sum(NH_6_high_l_sort(1:i,1)); NH_6_low_h_cum(i,1) = sum(NH_6_low_h_sort(1:i,1)); NH_6_high_h_cum(i,1) = sum(NH_6_high_h_sort(1:i,1)); NH_7_low_l_cum(i,1) = sum(NH_7_low_l_sort(1:i,1)); NH_7_high_l_cum(i,1) = sum(NH_7_high_l_sort(1:i,1)); NH_7_low_h_cum(i,1) = sum(NH_7_low_h_sort(1:i,1)); NH_7_high_h_cum(i,1) = sum(NH_7_high_h_sort(1:i,1)); NJ_1_low_l_cum(i,1) = sum(NJ_1_low_l_sort(1:i,1)); NJ_1_high_l_cum(i,1) = sum(NJ_1_high_l_sort(1:i,1)); NJ_1_low_h_cum(i,1) = sum(NJ_1_low_h_sort(1:i,1)); NJ_1_high_h_cum(i,1) = sum(NJ_1_high_h_sort(1:i,1)); NJ_2_low_l_cum(i,1) = sum(NJ_2_low_l_sort(1:i,1)); NJ_2_high_l_cum(i,1) = sum(NJ_2_high_l_sort(1:i,1)); NJ_2_low_h_cum(i,1) = sum(NJ_2_low_h_sort(1:i,1)); NJ_2_high_h_cum(i,1) = sum(NJ_2_high_h_sort(1:i,1)); NJ_3_low_l_cum(i,1) = sum(NJ_3_low_l_sort(1:i,1)); NJ_3_high_l_cum(i,1) = sum(NJ_3_high_l_sort(1:i,1)); NJ_3_low_h_cum(i,1) = sum(NJ_3_low_h_sort(1:i,1)); NJ_3_high_h_cum(i,1) = sum(NJ_3_high_h_sort(1:i,1)); NJ_4_low_l_cum(i,1) = sum(NJ_4_low_l_sort(1:i,1)); NJ_4_high_l_cum(i,1) = sum(NJ_4_high_l_sort(1:i,1)); NJ_4_low_h_cum(i,1) = sum(NJ_4_low_h_sort(1:i,1)); NJ_4_high_h_cum(i,1) = sum(NJ_4_high_h_sort(1:i,1)); NJ_5_low_l_cum(i,1) = sum(NJ_5_low_l_sort(1:i,1)); NJ_5_high_l_cum(i,1) = sum(NJ_5_high_l_sort(1:i,1)); NJ_5_low_h_cum(i,1) = sum(NJ_5_low_h_sort(1:i,1)); NJ_5_high_h_cum(i,1) = sum(NJ_5_high_h_sort(1:i,1)); NJ_6_low_l_cum(i,1) = sum(NJ_6_low_l_sort(1:i,1)); NJ_6_high_l_cum(i,1) = sum(NJ_6_high_l_sort(1:i,1)); NJ_6_low_h_cum(i,1) = sum(NJ_6_low_h_sort(1:i,1)); NJ_6_high_h_cum(i,1) = sum(NJ_6_high_h_sort(1:i,1)); NJ_7_low_l_cum(i,1) = sum(NJ_7_low_l_sort(1:i,1)); NJ_7_high_l_cum(i,1) = sum(NJ_7_high_l_sort(1:i,1)); NJ_7_low_h_cum(i,1) = sum(NJ_7_low_h_sort(1:i,1)); NJ_7_high_h_cum(i,1) = sum(NJ_7_high_h_sort(1:i,1)); NY_1_low_l_cum(i,1) = sum(NY_1_low_l_sort(1:i,1)); NY_1_high_l_cum(i,1) = sum(NY_1_high_l_sort(1:i,1)); NY_1_low_h_cum(i,1) = sum(NY_1_low_h_sort(1:i,1)); NY_1_high_h_cum(i,1) = sum(NY_1_high_h_sort(1:i,1)); NY_2_low_l_cum(i,1) = sum(NY_2_low_l_sort(1:i,1)); NY_2_high_l_cum(i,1) = sum(NY_2_high_l_sort(1:i,1)); NY_2_low_h_cum(i,1) = sum(NY_2_low_h_sort(1:i,1)); NY_2_high_h_cum(i,1) = sum(NY_2_high_h_sort(1:i,1)); NY_3_low_l_cum(i,1) = sum(NY_3_low_l_sort(1:i,1)); NY_3_high_l_cum(i,1) = sum(NY_3_high_l_sort(1:i,1)); NY_3_low_h_cum(i,1) = sum(NY_3_low_h_sort(1:i,1)); NY_3_high_h_cum(i,1) = sum(NY_3_high_h_sort(1:i,1)); NY_4_low_l_cum(i,1) = sum(NY_4_low_l_sort(1:i,1)); NY_4_high_l_cum(i,1) = sum(NY_4_high_l_sort(1:i,1)); NY_4_low_h_cum(i,1) = sum(NY_4_low_h_sort(1:i,1)); NY_4_high_h_cum(i,1) = sum(NY_4_high_h_sort(1:i,1)); NY_5_low_l_cum(i,1) = sum(NY_5_low_l_sort(1:i,1)); NY_5_high_l_cum(i,1) = sum(NY_5_high_l_sort(1:i,1)); NY_5_low_h_cum(i,1) = sum(NY_5_low_h_sort(1:i,1)); NY_5_high_h_cum(i,1) = sum(NY_5_high_h_sort(1:i,1)); NY_6_low_l_cum(i,1) = sum(NY_6_low_l_sort(1:i,1)); NY_6_high_l_cum(i,1) = sum(NY_6_high_l_sort(1:i,1)); NY_6_low_h_cum(i,1) = sum(NY_6_low_h_sort(1:i,1)); NY_6_high_h_cum(i,1) = sum(NY_6_high_h_sort(1:i,1)); NY_7_low_l_cum(i,1) = sum(NY_7_low_l_sort(1:i,1)); NY_7_high_l_cum(i,1) = sum(NY_7_high_l_sort(1:i,1)); NY_7_low_h_cum(i,1) = sum(NY_7_low_h_sort(1:i,1)); NY_7_high_h_cum(i,1) = sum(NY_7_high_h_sort(1:i,1)); NC_1_low_l_cum(i,1) = sum(NC_1_low_l_sort(1:i,1)); NC_1_high_l_cum(i,1) = sum(NC_1_high_l_sort(1:i,1)); NC_1_low_h_cum(i,1) = sum(NC_1_low_h_sort(1:i,1)); NC_1_high_h_cum(i,1) = sum(NC_1_high_h_sort(1:i,1)); NC_2_low_l_cum(i,1) = sum(NC_2_low_l_sort(1:i,1)); NC_2_high_l_cum(i,1) = sum(NC_2_high_l_sort(1:i,1)); NC_2_low_h_cum(i,1) = sum(NC_2_low_h_sort(1:i,1)); NC_2_high_h_cum(i,1) = sum(NC_2_high_h_sort(1:i,1)); NC_3_low_l_cum(i,1) = sum(NC_3_low_l_sort(1:i,1)); NC_3_high_l_cum(i,1) = sum(NC_3_high_l_sort(1:i,1)); NC_3_low_h_cum(i,1) = sum(NC_3_low_h_sort(1:i,1)); NC_3_high_h_cum(i,1) = sum(NC_3_high_h_sort(1:i,1)); NC_4_low_l_cum(i,1) = sum(NC_4_low_l_sort(1:i,1)); NC_4_high_l_cum(i,1) = sum(NC_4_high_l_sort(1:i,1)); NC_4_low_h_cum(i,1) = sum(NC_4_low_h_sort(1:i,1)); NC_4_high_h_cum(i,1) = sum(NC_4_high_h_sort(1:i,1)); NC_5_low_l_cum(i,1) = sum(NC_5_low_l_sort(1:i,1)); NC_5_high_l_cum(i,1) = sum(NC_5_high_l_sort(1:i,1)); NC_5_low_h_cum(i,1) = sum(NC_5_low_h_sort(1:i,1)); NC_5_high_h_cum(i,1) = sum(NC_5_high_h_sort(1:i,1)); NC_6_low_l_cum(i,1) = sum(NC_6_low_l_sort(1:i,1)); NC_6_high_l_cum(i,1) = sum(NC_6_high_l_sort(1:i,1)); NC_6_low_h_cum(i,1) = sum(NC_6_low_h_sort(1:i,1)); NC_6_high_h_cum(i,1) = sum(NC_6_high_h_sort(1:i,1)); NC_7_low_l_cum(i,1) = sum(NC_7_low_l_sort(1:i,1)); NC_7_high_l_cum(i,1) = sum(NC_7_high_l_sort(1:i,1)); NC_7_low_h_cum(i,1) = sum(NC_7_low_h_sort(1:i,1)); NC_7_high_h_cum(i,1) = sum(NC_7_high_h_sort(1:i,1)); OH_1_low_l_cum(i,1) = sum(OH_1_low_l_sort(1:i,1)); OH_1_high_l_cum(i,1) = sum(OH_1_high_l_sort(1:i,1)); OH_1_low_h_cum(i,1) = sum(OH_1_low_h_sort(1:i,1)); OH_1_high_h_cum(i,1) = sum(OH_1_high_h_sort(1:i,1)); OH_2_low_l_cum(i,1) = sum(OH_2_low_l_sort(1:i,1)); OH_2_high_l_cum(i,1) = sum(OH_2_high_l_sort(1:i,1)); OH_2_low_h_cum(i,1) = sum(OH_2_low_h_sort(1:i,1)); OH_2_high_h_cum(i,1) = sum(OH_2_high_h_sort(1:i,1)); OH_3_low_l_cum(i,1) = sum(OH_3_low_l_sort(1:i,1)); OH_3_high_l_cum(i,1) = sum(OH_3_high_l_sort(1:i,1)); OH_3_low_h_cum(i,1) = sum(OH_3_low_h_sort(1:i,1)); OH_3_high_h_cum(i,1) = sum(OH_3_high_h_sort(1:i,1)); OH_4_low_l_cum(i,1) = sum(OH_4_low_l_sort(1:i,1)); OH_4_high_l_cum(i,1) = sum(OH_4_high_l_sort(1:i,1)); OH_4_low_h_cum(i,1) = sum(OH_4_low_h_sort(1:i,1)); OH_4_high_h_cum(i,1) = sum(OH_4_high_h_sort(1:i,1)); OH_5_low_l_cum(i,1) = sum(OH_5_low_l_sort(1:i,1)); OH_5_high_l_cum(i,1) = sum(OH_5_high_l_sort(1:i,1)); OH_5_low_h_cum(i,1) = sum(OH_5_low_h_sort(1:i,1)); OH_5_high_h_cum(i,1) = sum(OH_5_high_h_sort(1:i,1)); OH_6_low_l_cum(i,1) = sum(OH_6_low_l_sort(1:i,1)); OH_6_high_l_cum(i,1) = sum(OH_6_high_l_sort(1:i,1)); OH_6_low_h_cum(i,1) = sum(OH_6_low_h_sort(1:i,1)); OH_6_high_h_cum(i,1) = sum(OH_6_high_h_sort(1:i,1)); OH_7_low_l_cum(i,1) = sum(OH_7_low_l_sort(1:i,1)); OH_7_high_l_cum(i,1) = sum(OH_7_high_l_sort(1:i,1)); OH_7_low_h_cum(i,1) = sum(OH_7_low_h_sort(1:i,1)); OH_7_high_h_cum(i,1) = sum(OH_7_high_h_sort(1:i,1)); OR_1_low_l_cum(i,1) = sum(OR_1_low_l_sort(1:i,1)); OR_1_high_l_cum(i,1) = sum(OR_1_high_l_sort(1:i,1)); OR_1_low_h_cum(i,1) = sum(OR_1_low_h_sort(1:i,1)); OR_1_high_h_cum(i,1) = sum(OR_1_high_h_sort(1:i,1)); OR_2_low_l_cum(i,1) = sum(OR_2_low_l_sort(1:i,1)); OR_2_high_l_cum(i,1) = sum(OR_2_high_l_sort(1:i,1)); OR_2_low_h_cum(i,1) = sum(OR_2_low_h_sort(1:i,1)); OR_2_high_h_cum(i,1) = sum(OR_2_high_h_sort(1:i,1)); OR_3_low_l_cum(i,1) = sum(OR_3_low_l_sort(1:i,1)); OR_3_high_l_cum(i,1) = sum(OR_3_high_l_sort(1:i,1)); OR_3_low_h_cum(i,1) = sum(OR_3_low_h_sort(1:i,1)); OR_3_high_h_cum(i,1) = sum(OR_3_high_h_sort(1:i,1)); OR_4_low_l_cum(i,1) = sum(OR_4_low_l_sort(1:i,1)); OR_4_high_l_cum(i,1) = sum(OR_4_high_l_sort(1:i,1)); OR_4_low_h_cum(i,1) = sum(OR_4_low_h_sort(1:i,1)); OR_4_high_h_cum(i,1) = sum(OR_4_high_h_sort(1:i,1)); OR_5_low_l_cum(i,1) = sum(OR_5_low_l_sort(1:i,1)); OR_5_high_l_cum(i,1) = sum(OR_5_high_l_sort(1:i,1)); OR_5_low_h_cum(i,1) = sum(OR_5_low_h_sort(1:i,1)); OR_5_high_h_cum(i,1) = sum(OR_5_high_h_sort(1:i,1)); OR_6_low_l_cum(i,1) = sum(OR_6_low_l_sort(1:i,1)); OR_6_high_l_cum(i,1) = sum(OR_6_high_l_sort(1:i,1)); OR_6_low_h_cum(i,1) = sum(OR_6_low_h_sort(1:i,1)); OR_6_high_h_cum(i,1) = sum(OR_6_high_h_sort(1:i,1)); OR_7_low_l_cum(i,1) = sum(OR_7_low_l_sort(1:i,1)); OR_7_high_l_cum(i,1) = sum(OR_7_high_l_sort(1:i,1)); OR_7_low_h_cum(i,1) = sum(OR_7_low_h_sort(1:i,1)); OR_7_high_h_cum(i,1) = sum(OR_7_high_h_sort(1:i,1)); PA_1_low_l_cum(i,1) = sum(PA_1_low_l_sort(1:i,1)); PA_1_high_l_cum(i,1) = sum(PA_1_high_l_sort(1:i,1)); PA_1_low_h_cum(i,1) = sum(PA_1_low_h_sort(1:i,1)); PA_1_high_h_cum(i,1) = sum(PA_1_high_h_sort(1:i,1)); PA_2_low_l_cum(i,1) = sum(PA_2_low_l_sort(1:i,1)); PA_2_high_l_cum(i,1) = sum(PA_2_high_l_sort(1:i,1)); PA_2_low_h_cum(i,1) = sum(PA_2_low_h_sort(1:i,1)); PA_2_high_h_cum(i,1) = sum(PA_2_high_h_sort(1:i,1)); PA_3_low_l_cum(i,1) = sum(PA_3_low_l_sort(1:i,1)); PA_3_high_l_cum(i,1) = sum(PA_3_high_l_sort(1:i,1)); PA_3_low_h_cum(i,1) = sum(PA_3_low_h_sort(1:i,1)); PA_3_high_h_cum(i,1) = sum(PA_3_high_h_sort(1:i,1)); PA_4_low_l_cum(i,1) = sum(PA_4_low_l_sort(1:i,1)); PA_4_high_l_cum(i,1) = sum(PA_4_high_l_sort(1:i,1)); PA_4_low_h_cum(i,1) = sum(PA_4_low_h_sort(1:i,1)); PA_4_high_h_cum(i,1) = sum(PA_4_high_h_sort(1:i,1)); PA_5_low_l_cum(i,1) = sum(PA_5_low_l_sort(1:i,1)); PA_5_high_l_cum(i,1) = sum(PA_5_high_l_sort(1:i,1)); PA_5_low_h_cum(i,1) = sum(PA_5_low_h_sort(1:i,1)); PA_5_high_h_cum(i,1) = sum(PA_5_high_h_sort(1:i,1)); PA_6_low_l_cum(i,1) = sum(PA_6_low_l_sort(1:i,1)); PA_6_high_l_cum(i,1) = sum(PA_6_high_l_sort(1:i,1)); PA_6_low_h_cum(i,1) = sum(PA_6_low_h_sort(1:i,1)); PA_6_high_h_cum(i,1) = sum(PA_6_high_h_sort(1:i,1)); PA_7_low_l_cum(i,1) = sum(PA_7_low_l_sort(1:i,1)); PA_7_high_l_cum(i,1) = sum(PA_7_high_l_sort(1:i,1)); PA_7_low_h_cum(i,1) = sum(PA_7_low_h_sort(1:i,1)); PA_7_high_h_cum(i,1) = sum(PA_7_high_h_sort(1:i,1)); RI_1_low_l_cum(i,1) = sum(RI_1_low_l_sort(1:i,1)); RI_1_high_l_cum(i,1) = sum(RI_1_high_l_sort(1:i,1)); RI_1_low_h_cum(i,1) = sum(RI_1_low_h_sort(1:i,1)); RI_1_high_h_cum(i,1) = sum(RI_1_high_h_sort(1:i,1)); RI_2_low_l_cum(i,1) = sum(RI_2_low_l_sort(1:i,1)); RI_2_high_l_cum(i,1) = sum(RI_2_high_l_sort(1:i,1)); RI_2_low_h_cum(i,1) = sum(RI_2_low_h_sort(1:i,1)); RI_2_high_h_cum(i,1) = sum(RI_2_high_h_sort(1:i,1)); RI_3_low_l_cum(i,1) = sum(RI_3_low_l_sort(1:i,1)); RI_3_high_l_cum(i,1) = sum(RI_3_high_l_sort(1:i,1)); RI_3_low_h_cum(i,1) = sum(RI_3_low_h_sort(1:i,1)); RI_3_high_h_cum(i,1) = sum(RI_3_high_h_sort(1:i,1)); RI_4_low_l_cum(i,1) = sum(RI_4_low_l_sort(1:i,1)); RI_4_high_l_cum(i,1) = sum(RI_4_high_l_sort(1:i,1)); RI_4_low_h_cum(i,1) = sum(RI_4_low_h_sort(1:i,1)); RI_4_high_h_cum(i,1) = sum(RI_4_high_h_sort(1:i,1)); RI_5_low_l_cum(i,1) = sum(RI_5_low_l_sort(1:i,1)); RI_5_high_l_cum(i,1) = sum(RI_5_high_l_sort(1:i,1)); RI_5_low_h_cum(i,1) = sum(RI_5_low_h_sort(1:i,1)); RI_5_high_h_cum(i,1) = sum(RI_5_high_h_sort(1:i,1)); RI_6_low_l_cum(i,1) = sum(RI_6_low_l_sort(1:i,1)); RI_6_high_l_cum(i,1) = sum(RI_6_high_l_sort(1:i,1)); RI_6_low_h_cum(i,1) = sum(RI_6_low_h_sort(1:i,1)); RI_6_high_h_cum(i,1) = sum(RI_6_high_h_sort(1:i,1)); RI_7_low_l_cum(i,1) = sum(RI_7_low_l_sort(1:i,1)); RI_7_high_l_cum(i,1) = sum(RI_7_high_l_sort(1:i,1)); RI_7_low_h_cum(i,1) = sum(RI_7_low_h_sort(1:i,1)); RI_7_high_h_cum(i,1) = sum(RI_7_high_h_sort(1:i,1)); SC_1_low_l_cum(i,1) = sum(SC_1_low_l_sort(1:i,1)); SC_1_high_l_cum(i,1) = sum(SC_1_high_l_sort(1:i,1)); SC_1_low_h_cum(i,1) = sum(SC_1_low_h_sort(1:i,1)); SC_1_high_h_cum(i,1) = sum(SC_1_high_h_sort(1:i,1)); SC_2_low_l_cum(i,1) = sum(SC_2_low_l_sort(1:i,1)); SC_2_high_l_cum(i,1) = sum(SC_2_high_l_sort(1:i,1)); SC_2_low_h_cum(i,1) = sum(SC_2_low_h_sort(1:i,1)); SC_2_high_h_cum(i,1) = sum(SC_2_high_h_sort(1:i,1)); SC_3_low_l_cum(i,1) = sum(SC_3_low_l_sort(1:i,1)); SC_3_high_l_cum(i,1) = sum(SC_3_high_l_sort(1:i,1)); SC_3_low_h_cum(i,1) = sum(SC_3_low_h_sort(1:i,1)); SC_3_high_h_cum(i,1) = sum(SC_3_high_h_sort(1:i,1)); SC_4_low_l_cum(i,1) = sum(SC_4_low_l_sort(1:i,1)); SC_4_high_l_cum(i,1) = sum(SC_4_high_l_sort(1:i,1)); SC_4_low_h_cum(i,1) = sum(SC_4_low_h_sort(1:i,1)); SC_4_high_h_cum(i,1) = sum(SC_4_high_h_sort(1:i,1)); SC_5_low_l_cum(i,1) = sum(SC_5_low_l_sort(1:i,1)); SC_5_high_l_cum(i,1) = sum(SC_5_high_l_sort(1:i,1)); SC_5_low_h_cum(i,1) = sum(SC_5_low_h_sort(1:i,1)); SC_5_high_h_cum(i,1) = sum(SC_5_high_h_sort(1:i,1)); SC_6_low_l_cum(i,1) = sum(SC_6_low_l_sort(1:i,1)); SC_6_high_l_cum(i,1) = sum(SC_6_high_l_sort(1:i,1)); SC_6_low_h_cum(i,1) = sum(SC_6_low_h_sort(1:i,1)); SC_6_high_h_cum(i,1) = sum(SC_6_high_h_sort(1:i,1)); SC_7_low_l_cum(i,1) = sum(SC_7_low_l_sort(1:i,1)); SC_7_high_l_cum(i,1) = sum(SC_7_high_l_sort(1:i,1)); SC_7_low_h_cum(i,1) = sum(SC_7_low_h_sort(1:i,1)); SC_7_high_h_cum(i,1) = sum(SC_7_high_h_sort(1:i,1)); TX_1_low_l_cum(i,1) = sum(TX_1_low_l_sort(1:i,1)); TX_1_high_l_cum(i,1) = sum(TX_1_high_l_sort(1:i,1)); TX_1_low_h_cum(i,1) = sum(TX_1_low_h_sort(1:i,1)); TX_1_high_h_cum(i,1) = sum(TX_1_high_h_sort(1:i,1)); TX_2_low_l_cum(i,1) = sum(TX_2_low_l_sort(1:i,1)); TX_2_high_l_cum(i,1) = sum(TX_2_high_l_sort(1:i,1)); TX_2_low_h_cum(i,1) = sum(TX_2_low_h_sort(1:i,1)); TX_2_high_h_cum(i,1) = sum(TX_2_high_h_sort(1:i,1)); TX_3_low_l_cum(i,1) = sum(TX_3_low_l_sort(1:i,1)); TX_3_high_l_cum(i,1) = sum(TX_3_high_l_sort(1:i,1)); TX_3_low_h_cum(i,1) = sum(TX_3_low_h_sort(1:i,1)); TX_3_high_h_cum(i,1) = sum(TX_3_high_h_sort(1:i,1)); TX_4_low_l_cum(i,1) = sum(TX_4_low_l_sort(1:i,1)); TX_4_high_l_cum(i,1) = sum(TX_4_high_l_sort(1:i,1)); TX_4_low_h_cum(i,1) = sum(TX_4_low_h_sort(1:i,1)); TX_4_high_h_cum(i,1) = sum(TX_4_high_h_sort(1:i,1)); TX_5_low_l_cum(i,1) = sum(TX_5_low_l_sort(1:i,1)); TX_5_high_l_cum(i,1) = sum(TX_5_high_l_sort(1:i,1)); TX_5_low_h_cum(i,1) = sum(TX_5_low_h_sort(1:i,1)); TX_5_high_h_cum(i,1) = sum(TX_5_high_h_sort(1:i,1)); TX_6_low_l_cum(i,1) = sum(TX_6_low_l_sort(1:i,1)); TX_6_high_l_cum(i,1) = sum(TX_6_high_l_sort(1:i,1)); TX_6_low_h_cum(i,1) = sum(TX_6_low_h_sort(1:i,1)); TX_6_high_h_cum(i,1) = sum(TX_6_high_h_sort(1:i,1)); TX_7_low_l_cum(i,1) = sum(TX_7_low_l_sort(1:i,1)); TX_7_high_l_cum(i,1) = sum(TX_7_high_l_sort(1:i,1)); TX_7_low_h_cum(i,1) = sum(TX_7_low_h_sort(1:i,1)); TX_7_high_h_cum(i,1) = sum(TX_7_high_h_sort(1:i,1)); VA_1_low_l_cum(i,1) = sum(VA_1_low_l_sort(1:i,1)); VA_1_high_l_cum(i,1) = sum(VA_1_high_l_sort(1:i,1)); VA_1_low_h_cum(i,1) = sum(VA_1_low_h_sort(1:i,1)); VA_1_high_h_cum(i,1) = sum(VA_1_high_h_sort(1:i,1)); VA_2_low_l_cum(i,1) = sum(VA_2_low_l_sort(1:i,1)); VA_2_high_l_cum(i,1) = sum(VA_2_high_l_sort(1:i,1)); VA_2_low_h_cum(i,1) = sum(VA_2_low_h_sort(1:i,1)); VA_2_high_h_cum(i,1) = sum(VA_2_high_h_sort(1:i,1)); VA_3_low_l_cum(i,1) = sum(VA_3_low_l_sort(1:i,1)); VA_3_high_l_cum(i,1) = sum(VA_3_high_l_sort(1:i,1)); VA_3_low_h_cum(i,1) = sum(VA_3_low_h_sort(1:i,1)); VA_3_high_h_cum(i,1) = sum(VA_3_high_h_sort(1:i,1)); VA_4_low_l_cum(i,1) = sum(VA_4_low_l_sort(1:i,1)); VA_4_high_l_cum(i,1) = sum(VA_4_high_l_sort(1:i,1)); VA_4_low_h_cum(i,1) = sum(VA_4_low_h_sort(1:i,1)); VA_4_high_h_cum(i,1) = sum(VA_4_high_h_sort(1:i,1)); VA_5_low_l_cum(i,1) = sum(VA_5_low_l_sort(1:i,1)); VA_5_high_l_cum(i,1) = sum(VA_5_high_l_sort(1:i,1)); VA_5_low_h_cum(i,1) = sum(VA_5_low_h_sort(1:i,1)); VA_5_high_h_cum(i,1) = sum(VA_5_high_h_sort(1:i,1)); VA_6_low_l_cum(i,1) = sum(VA_6_low_l_sort(1:i,1)); VA_6_high_l_cum(i,1) = sum(VA_6_high_l_sort(1:i,1)); VA_6_low_h_cum(i,1) = sum(VA_6_low_h_sort(1:i,1)); VA_6_high_h_cum(i,1) = sum(VA_6_high_h_sort(1:i,1)); VA_7_low_l_cum(i,1) = sum(VA_7_low_l_sort(1:i,1)); VA_7_high_l_cum(i,1) = sum(VA_7_high_l_sort(1:i,1)); VA_7_low_h_cum(i,1) = sum(VA_7_low_h_sort(1:i,1)); VA_7_high_h_cum(i,1) = sum(VA_7_high_h_sort(1:i,1)); WA_1_low_l_cum(i,1) = sum(WA_1_low_l_sort(1:i,1)); WA_1_high_l_cum(i,1) = sum(WA_1_high_l_sort(1:i,1)); WA_1_low_h_cum(i,1) = sum(WA_1_low_h_sort(1:i,1)); WA_1_high_h_cum(i,1) = sum(WA_1_high_h_sort(1:i,1)); WA_2_low_l_cum(i,1) = sum(WA_2_low_l_sort(1:i,1)); WA_2_high_l_cum(i,1) = sum(WA_2_high_l_sort(1:i,1)); WA_2_low_h_cum(i,1) = sum(WA_2_low_h_sort(1:i,1)); WA_2_high_h_cum(i,1) = sum(WA_2_high_h_sort(1:i,1)); WA_3_low_l_cum(i,1) = sum(WA_3_low_l_sort(1:i,1)); WA_3_high_l_cum(i,1) = sum(WA_3_high_l_sort(1:i,1)); WA_3_low_h_cum(i,1) = sum(WA_3_low_h_sort(1:i,1)); WA_3_high_h_cum(i,1) = sum(WA_3_high_h_sort(1:i,1)); WA_4_low_l_cum(i,1) = sum(WA_4_low_l_sort(1:i,1)); WA_4_high_l_cum(i,1) = sum(WA_4_high_l_sort(1:i,1)); WA_4_low_h_cum(i,1) = sum(WA_4_low_h_sort(1:i,1)); WA_4_high_h_cum(i,1) = sum(WA_4_high_h_sort(1:i,1)); WA_5_low_l_cum(i,1) = sum(WA_5_low_l_sort(1:i,1)); WA_5_high_l_cum(i,1) = sum(WA_5_high_l_sort(1:i,1)); WA_5_low_h_cum(i,1) = sum(WA_5_low_h_sort(1:i,1)); WA_5_high_h_cum(i,1) = sum(WA_5_high_h_sort(1:i,1)); WA_6_low_l_cum(i,1) = sum(WA_6_low_l_sort(1:i,1)); WA_6_high_l_cum(i,1) = sum(WA_6_high_l_sort(1:i,1)); WA_6_low_h_cum(i,1) = sum(WA_6_low_h_sort(1:i,1)); WA_6_high_h_cum(i,1) = sum(WA_6_high_h_sort(1:i,1)); WA_7_low_l_cum(i,1) = sum(WA_7_low_l_sort(1:i,1)); WA_7_high_l_cum(i,1) = sum(WA_7_high_l_sort(1:i,1)); WA_7_low_h_cum(i,1) = sum(WA_7_low_h_sort(1:i,1)); WA_7_high_h_cum(i,1) = sum(WA_7_high_h_sort(1:i,1)); WI_1_low_l_cum(i,1) = sum(WI_1_low_l_sort(1:i,1)); WI_1_high_l_cum(i,1) = sum(WI_1_high_l_sort(1:i,1)); WI_1_low_h_cum(i,1) = sum(WI_1_low_h_sort(1:i,1)); WI_1_high_h_cum(i,1) = sum(WI_1_high_h_sort(1:i,1)); WI_2_low_l_cum(i,1) = sum(WI_2_low_l_sort(1:i,1)); WI_2_high_l_cum(i,1) = sum(WI_2_high_l_sort(1:i,1)); WI_2_low_h_cum(i,1) = sum(WI_2_low_h_sort(1:i,1)); WI_2_high_h_cum(i,1) = sum(WI_2_high_h_sort(1:i,1)); WI_3_low_l_cum(i,1) = sum(WI_3_low_l_sort(1:i,1)); WI_3_high_l_cum(i,1) = sum(WI_3_high_l_sort(1:i,1)); WI_3_low_h_cum(i,1) = sum(WI_3_low_h_sort(1:i,1)); WI_3_high_h_cum(i,1) = sum(WI_3_high_h_sort(1:i,1)); WI_4_low_l_cum(i,1) = sum(WI_4_low_l_sort(1:i,1)); WI_4_high_l_cum(i,1) = sum(WI_4_high_l_sort(1:i,1)); WI_4_low_h_cum(i,1) = sum(WI_4_low_h_sort(1:i,1)); WI_4_high_h_cum(i,1) = sum(WI_4_high_h_sort(1:i,1)); WI_5_low_l_cum(i,1) = sum(WI_5_low_l_sort(1:i,1)); WI_5_high_l_cum(i,1) = sum(WI_5_high_l_sort(1:i,1)); WI_5_low_h_cum(i,1) = sum(WI_5_low_h_sort(1:i,1)); WI_5_high_h_cum(i,1) = sum(WI_5_high_h_sort(1:i,1)); WI_6_low_l_cum(i,1) = sum(WI_6_low_l_sort(1:i,1)); WI_6_high_l_cum(i,1) = sum(WI_6_high_l_sort(1:i,1)); WI_6_low_h_cum(i,1) = sum(WI_6_low_h_sort(1:i,1)); WI_6_high_h_cum(i,1) = sum(WI_6_high_h_sort(1:i,1)); WI_7_low_l_cum(i,1) = sum(WI_7_low_l_sort(1:i,1)); WI_7_high_l_cum(i,1) = sum(WI_7_high_l_sort(1:i,1)); WI_7_low_h_cum(i,1) = sum(WI_7_low_h_sort(1:i,1)); WI_7_high_h_cum(i,1) = sum(WI_7_high_h_sort(1:i,1)); end for i = 1:size(Africa_Eastern_c4_low_l_sort,1); Africa_Eastern_c4_low_l_cum(i,1) = sum(Africa_Eastern_c4_low_l_sort(1:i,1)); Africa_Eastern_c4_high_l_cum(i,1) = sum(Africa_Eastern_c4_high_l_sort(1:i,1)); Africa_Eastern_c4_low_h_cum(i,1) = sum(Africa_Eastern_c4_low_h_sort(1:i,1)); Africa_Eastern_c4_high_h_cum(i,1) = sum(Africa_Eastern_c4_high_h_sort(1:i,1)); Africa_Eastern_c5_low_l_cum(i,1) = sum(Africa_Eastern_c5_low_l_sort(1:i,1)); Africa_Eastern_c5_high_l_cum(i,1) = sum(Africa_Eastern_c5_high_l_sort(1:i,1)); Africa_Eastern_c5_low_h_cum(i,1) = sum(Africa_Eastern_c5_low_h_sort(1:i,1)); Africa_Eastern_c5_high_h_cum(i,1) = sum(Africa_Eastern_c5_high_h_sort(1:i,1)); Africa_Eastern_c6_low_l_cum(i,1) = sum(Africa_Eastern_c6_low_l_sort(1:i,1)); Africa_Eastern_c6_high_l_cum(i,1) = sum(Africa_Eastern_c6_high_l_sort(1:i,1)); Africa_Eastern_c6_low_h_cum(i,1) = sum(Africa_Eastern_c6_low_h_sort(1:i,1)); Africa_Eastern_c6_high_h_cum(i,1) = sum(Africa_Eastern_c6_high_h_sort(1:i,1)); Africa_Eastern_c7_low_l_cum(i,1) = sum(Africa_Eastern_c7_low_l_sort(1:i,1)); Africa_Eastern_c7_high_l_cum(i,1) = sum(Africa_Eastern_c7_high_l_sort(1:i,1)); Africa_Eastern_c7_low_h_cum(i,1) = sum(Africa_Eastern_c7_low_h_sort(1:i,1)); Africa_Eastern_c7_high_h_cum(i,1) = sum(Africa_Eastern_c7_high_h_sort(1:i,1)); Africa_Eastern_c89_low_l_cum(i,1) = sum(Africa_Eastern_c89_low_l_sort(1:i,1)); Africa_Eastern_c89_high_l_cum(i,1) = sum(Africa_Eastern_c89_high_l_sort(1:i,1)); Africa_Eastern_c89_low_h_cum(i,1) = sum(Africa_Eastern_c89_low_h_sort(1:i,1)); Africa_Eastern_c89_high_h_cum(i,1) = sum(Africa_Eastern_c89_high_h_sort(1:i,1)); Africa_Northern_c4_low_l_cum(i,1) = sum(Africa_Northern_c4_low_l_sort(1:i,1)); Africa_Northern_c4_high_l_cum(i,1) = sum(Africa_Northern_c4_high_l_sort(1:i,1)); Africa_Northern_c4_low_h_cum(i,1) = sum(Africa_Northern_c4_low_h_sort(1:i,1)); Africa_Northern_c4_high_h_cum(i,1) = sum(Africa_Northern_c4_high_h_sort(1:i,1)); Africa_Northern_c5_low_l_cum(i,1) = sum(Africa_Northern_c5_low_l_sort(1:i,1)); Africa_Northern_c5_high_l_cum(i,1) = sum(Africa_Northern_c5_high_l_sort(1:i,1)); Africa_Northern_c5_low_h_cum(i,1) = sum(Africa_Northern_c5_low_h_sort(1:i,1)); Africa_Northern_c5_high_h_cum(i,1) = sum(Africa_Northern_c5_high_h_sort(1:i,1)); Africa_Northern_c6_low_l_cum(i,1) = sum(Africa_Northern_c6_low_l_sort(1:i,1)); Africa_Northern_c6_high_l_cum(i,1) = sum(Africa_Northern_c6_high_l_sort(1:i,1)); Africa_Northern_c6_low_h_cum(i,1) = sum(Africa_Northern_c6_low_h_sort(1:i,1)); Africa_Northern_c6_high_h_cum(i,1) = sum(Africa_Northern_c6_high_h_sort(1:i,1)); Africa_Northern_c7_low_l_cum(i,1) = sum(Africa_Northern_c7_low_l_sort(1:i,1)); Africa_Northern_c7_high_l_cum(i,1) = sum(Africa_Northern_c7_high_l_sort(1:i,1)); Africa_Northern_c7_low_h_cum(i,1) = sum(Africa_Northern_c7_low_h_sort(1:i,1)); Africa_Northern_c7_high_h_cum(i,1) = sum(Africa_Northern_c7_high_h_sort(1:i,1)); Africa_Northern_c89_low_l_cum(i,1) = sum(Africa_Northern_c89_low_l_sort(1:i,1)); Africa_Northern_c89_high_l_cum(i,1) = sum(Africa_Northern_c89_high_l_sort(1:i,1)); Africa_Northern_c89_low_h_cum(i,1) = sum(Africa_Northern_c89_low_h_sort(1:i,1)); Africa_Northern_c89_high_h_cum(i,1) = sum(Africa_Northern_c89_high_h_sort(1:i,1)); Africa_Southern_c4_low_l_cum(i,1) = sum(Africa_Southern_c4_low_l_sort(1:i,1)); Africa_Southern_c4_high_l_cum(i,1) = sum(Africa_Southern_c4_high_l_sort(1:i,1)); Africa_Southern_c4_low_h_cum(i,1) = sum(Africa_Southern_c4_low_h_sort(1:i,1)); Africa_Southern_c4_high_h_cum(i,1) = sum(Africa_Southern_c4_high_h_sort(1:i,1)); Africa_Southern_c5_low_l_cum(i,1) = sum(Africa_Southern_c5_low_l_sort(1:i,1)); Africa_Southern_c5_high_l_cum(i,1) = sum(Africa_Southern_c5_high_l_sort(1:i,1)); Africa_Southern_c5_low_h_cum(i,1) = sum(Africa_Southern_c5_low_h_sort(1:i,1)); Africa_Southern_c5_high_h_cum(i,1) = sum(Africa_Southern_c5_high_h_sort(1:i,1)); Africa_Southern_c6_low_l_cum(i,1) = sum(Africa_Southern_c6_low_l_sort(1:i,1)); Africa_Southern_c6_high_l_cum(i,1) = sum(Africa_Southern_c6_high_l_sort(1:i,1)); Africa_Southern_c6_low_h_cum(i,1) = sum(Africa_Southern_c6_low_h_sort(1:i,1)); Africa_Southern_c6_high_h_cum(i,1) = sum(Africa_Southern_c6_high_h_sort(1:i,1)); Africa_Southern_c7_low_l_cum(i,1) = sum(Africa_Southern_c7_low_l_sort(1:i,1)); Africa_Southern_c7_high_l_cum(i,1) = sum(Africa_Southern_c7_high_l_sort(1:i,1)); Africa_Southern_c7_low_h_cum(i,1) = sum(Africa_Southern_c7_low_h_sort(1:i,1)); Africa_Southern_c7_high_h_cum(i,1) = sum(Africa_Southern_c7_high_h_sort(1:i,1)); Africa_Southern_c89_low_l_cum(i,1) = sum(Africa_Southern_c89_low_l_sort(1:i,1)); Africa_Southern_c89_high_l_cum(i,1) = sum(Africa_Southern_c89_high_l_sort(1:i,1)); Africa_Southern_c89_low_h_cum(i,1) = sum(Africa_Southern_c89_low_h_sort(1:i,1)); Africa_Southern_c89_high_h_cum(i,1) = sum(Africa_Southern_c89_high_h_sort(1:i,1)); Africa_Western_c4_low_l_cum(i,1) = sum(Africa_Western_c4_low_l_sort(1:i,1)); Africa_Western_c4_high_l_cum(i,1) = sum(Africa_Western_c4_high_l_sort(1:i,1)); Africa_Western_c4_low_h_cum(i,1) = sum(Africa_Western_c4_low_h_sort(1:i,1)); Africa_Western_c4_high_h_cum(i,1) = sum(Africa_Western_c4_high_h_sort(1:i,1)); Africa_Western_c5_low_l_cum(i,1) = sum(Africa_Western_c5_low_l_sort(1:i,1)); Africa_Western_c5_high_l_cum(i,1) = sum(Africa_Western_c5_high_l_sort(1:i,1)); Africa_Western_c5_low_h_cum(i,1) = sum(Africa_Western_c5_low_h_sort(1:i,1)); Africa_Western_c5_high_h_cum(i,1) = sum(Africa_Western_c5_high_h_sort(1:i,1)); Africa_Western_c6_low_l_cum(i,1) = sum(Africa_Western_c6_low_l_sort(1:i,1)); Africa_Western_c6_high_l_cum(i,1) = sum(Africa_Western_c6_high_l_sort(1:i,1)); Africa_Western_c6_low_h_cum(i,1) = sum(Africa_Western_c6_low_h_sort(1:i,1)); Africa_Western_c6_high_h_cum(i,1) = sum(Africa_Western_c6_high_h_sort(1:i,1)); Africa_Western_c7_low_l_cum(i,1) = sum(Africa_Western_c7_low_l_sort(1:i,1)); Africa_Western_c7_high_l_cum(i,1) = sum(Africa_Western_c7_high_l_sort(1:i,1)); Africa_Western_c7_low_h_cum(i,1) = sum(Africa_Western_c7_low_h_sort(1:i,1)); Africa_Western_c7_high_h_cum(i,1) = sum(Africa_Western_c7_high_h_sort(1:i,1)); Africa_Western_c89_low_l_cum(i,1) = sum(Africa_Western_c89_low_l_sort(1:i,1)); Africa_Western_c89_high_l_cum(i,1) = sum(Africa_Western_c89_high_l_sort(1:i,1)); Africa_Western_c89_low_h_cum(i,1) = sum(Africa_Western_c89_low_h_sort(1:i,1)); Africa_Western_c89_high_h_cum(i,1) = sum(Africa_Western_c89_high_h_sort(1:i,1)); Australia_NZ_c4_low_l_cum(i,1) = sum(Australia_NZ_c4_low_l_sort(1:i,1)); Australia_NZ_c4_high_l_cum(i,1) = sum(Australia_NZ_c4_high_l_sort(1:i,1)); Australia_NZ_c4_low_h_cum(i,1) = sum(Australia_NZ_c4_low_h_sort(1:i,1)); Australia_NZ_c4_high_h_cum(i,1) = sum(Australia_NZ_c4_high_h_sort(1:i,1)); Australia_NZ_c5_low_l_cum(i,1) = sum(Australia_NZ_c5_low_l_sort(1:i,1)); Australia_NZ_c5_high_l_cum(i,1) = sum(Australia_NZ_c5_high_l_sort(1:i,1)); Australia_NZ_c5_low_h_cum(i,1) = sum(Australia_NZ_c5_low_h_sort(1:i,1)); Australia_NZ_c5_high_h_cum(i,1) = sum(Australia_NZ_c5_high_h_sort(1:i,1)); Australia_NZ_c6_low_l_cum(i,1) = sum(Australia_NZ_c6_low_l_sort(1:i,1)); Australia_NZ_c6_high_l_cum(i,1) = sum(Australia_NZ_c6_high_l_sort(1:i,1)); Australia_NZ_c6_low_h_cum(i,1) = sum(Australia_NZ_c6_low_h_sort(1:i,1)); Australia_NZ_c6_high_h_cum(i,1) = sum(Australia_NZ_c6_high_h_sort(1:i,1)); Australia_NZ_c7_low_l_cum(i,1) = sum(Australia_NZ_c7_low_l_sort(1:i,1)); Australia_NZ_c7_high_l_cum(i,1) = sum(Australia_NZ_c7_high_l_sort(1:i,1)); Australia_NZ_c7_low_h_cum(i,1) = sum(Australia_NZ_c7_low_h_sort(1:i,1)); Australia_NZ_c7_high_h_cum(i,1) = sum(Australia_NZ_c7_high_h_sort(1:i,1)); Australia_NZ_c89_low_l_cum(i,1) = sum(Australia_NZ_c89_low_l_sort(1:i,1)); Australia_NZ_c89_high_l_cum(i,1) = sum(Australia_NZ_c89_high_l_sort(1:i,1)); Australia_NZ_c89_low_h_cum(i,1) = sum(Australia_NZ_c89_low_h_sort(1:i,1)); Australia_NZ_c89_high_h_cum(i,1) = sum(Australia_NZ_c89_high_h_sort(1:i,1)); Brazil_c4_low_l_cum(i,1) = sum(Brazil_c4_low_l_sort(1:i,1)); Brazil_c4_high_l_cum(i,1) = sum(Brazil_c4_high_l_sort(1:i,1)); Brazil_c4_low_h_cum(i,1) = sum(Brazil_c4_low_h_sort(1:i,1)); Brazil_c4_high_h_cum(i,1) = sum(Brazil_c4_high_h_sort(1:i,1)); Brazil_c5_low_l_cum(i,1) = sum(Brazil_c5_low_l_sort(1:i,1)); Brazil_c5_high_l_cum(i,1) = sum(Brazil_c5_high_l_sort(1:i,1)); Brazil_c5_low_h_cum(i,1) = sum(Brazil_c5_low_h_sort(1:i,1)); Brazil_c5_high_h_cum(i,1) = sum(Brazil_c5_high_h_sort(1:i,1)); Brazil_c6_low_l_cum(i,1) = sum(Brazil_c6_low_l_sort(1:i,1)); Brazil_c6_high_l_cum(i,1) = sum(Brazil_c6_high_l_sort(1:i,1)); Brazil_c6_low_h_cum(i,1) = sum(Brazil_c6_low_h_sort(1:i,1)); Brazil_c6_high_h_cum(i,1) = sum(Brazil_c6_high_h_sort(1:i,1)); Brazil_c7_low_l_cum(i,1) = sum(Brazil_c7_low_l_sort(1:i,1)); Brazil_c7_high_l_cum(i,1) = sum(Brazil_c7_high_l_sort(1:i,1)); Brazil_c7_low_h_cum(i,1) = sum(Brazil_c7_low_h_sort(1:i,1)); Brazil_c7_high_h_cum(i,1) = sum(Brazil_c7_high_h_sort(1:i,1)); Brazil_c89_low_l_cum(i,1) = sum(Brazil_c89_low_l_sort(1:i,1)); Brazil_c89_high_l_cum(i,1) = sum(Brazil_c89_high_l_sort(1:i,1)); Brazil_c89_low_h_cum(i,1) = sum(Brazil_c89_low_h_sort(1:i,1)); Brazil_c89_high_h_cum(i,1) = sum(Brazil_c89_high_h_sort(1:i,1)); Canada_c4_low_l_cum(i,1) = sum(Canada_c4_low_l_sort(1:i,1)); Canada_c4_high_l_cum(i,1) = sum(Canada_c4_high_l_sort(1:i,1)); Canada_c4_low_h_cum(i,1) = sum(Canada_c4_low_h_sort(1:i,1)); Canada_c4_high_h_cum(i,1) = sum(Canada_c4_high_h_sort(1:i,1)); Canada_c5_low_l_cum(i,1) = sum(Canada_c5_low_l_sort(1:i,1)); Canada_c5_high_l_cum(i,1) = sum(Canada_c5_high_l_sort(1:i,1)); Canada_c5_low_h_cum(i,1) = sum(Canada_c5_low_h_sort(1:i,1)); Canada_c5_high_h_cum(i,1) = sum(Canada_c5_high_h_sort(1:i,1)); Canada_c6_low_l_cum(i,1) = sum(Canada_c6_low_l_sort(1:i,1)); Canada_c6_high_l_cum(i,1) = sum(Canada_c6_high_l_sort(1:i,1)); Canada_c6_low_h_cum(i,1) = sum(Canada_c6_low_h_sort(1:i,1)); Canada_c6_high_h_cum(i,1) = sum(Canada_c6_high_h_sort(1:i,1)); Canada_c7_low_l_cum(i,1) = sum(Canada_c7_low_l_sort(1:i,1)); Canada_c7_high_l_cum(i,1) = sum(Canada_c7_high_l_sort(1:i,1)); Canada_c7_low_h_cum(i,1) = sum(Canada_c7_low_h_sort(1:i,1)); Canada_c7_high_h_cum(i,1) = sum(Canada_c7_high_h_sort(1:i,1)); Canada_c89_low_l_cum(i,1) = sum(Canada_c89_low_l_sort(1:i,1)); Canada_c89_high_l_cum(i,1) = sum(Canada_c89_high_l_sort(1:i,1)); Canada_c89_low_h_cum(i,1) = sum(Canada_c89_low_h_sort(1:i,1)); Canada_c89_high_h_cum(i,1) = sum(Canada_c89_high_h_sort(1:i,1)); Central_America_and_Caribbean_c4_low_l_cum(i,1) = sum(Central_America_and_Caribbean_c4_low_l_sort(1:i,1)); Central_America_and_Caribbean_c4_high_l_cum(i,1) = sum(Central_America_and_Caribbean_c4_high_l_sort(1:i,1)); Central_America_and_Caribbean_c4_low_h_cum(i,1) = sum(Central_America_and_Caribbean_c4_low_h_sort(1:i,1)); Central_America_and_Caribbean_c4_high_h_cum(i,1) = sum(Central_America_and_Caribbean_c4_high_h_sort(1:i,1)); Central_America_and_Caribbean_c5_low_l_cum(i,1) = sum(Central_America_and_Caribbean_c5_low_l_sort(1:i,1)); Central_America_and_Caribbean_c5_high_l_cum(i,1) = sum(Central_America_and_Caribbean_c5_high_l_sort(1:i,1)); Central_America_and_Caribbean_c5_low_h_cum(i,1) = sum(Central_America_and_Caribbean_c5_low_h_sort(1:i,1)); Central_America_and_Caribbean_c5_high_h_cum(i,1) = sum(Central_America_and_Caribbean_c5_high_h_sort(1:i,1)); Central_America_and_Caribbean_c6_low_l_cum(i,1) = sum(Central_America_and_Caribbean_c6_low_l_sort(1:i,1)); Central_America_and_Caribbean_c6_high_l_cum(i,1) = sum(Central_America_and_Caribbean_c6_high_l_sort(1:i,1)); Central_America_and_Caribbean_c6_low_h_cum(i,1) = sum(Central_America_and_Caribbean_c6_low_h_sort(1:i,1)); Central_America_and_Caribbean_c6_high_h_cum(i,1) = sum(Central_America_and_Caribbean_c6_high_h_sort(1:i,1)); Central_America_and_Caribbean_c7_low_l_cum(i,1) = sum(Central_America_and_Caribbean_c7_low_l_sort(1:i,1)); Central_America_and_Caribbean_c7_high_l_cum(i,1) = sum(Central_America_and_Caribbean_c7_high_l_sort(1:i,1)); Central_America_and_Caribbean_c7_low_h_cum(i,1) = sum(Central_America_and_Caribbean_c7_low_h_sort(1:i,1)); Central_America_and_Caribbean_c7_high_h_cum(i,1) = sum(Central_America_and_Caribbean_c7_high_h_sort(1:i,1)); Central_America_and_Caribbean_c89_low_l_cum(i,1) = sum(Central_America_and_Caribbean_c89_low_l_sort(1:i,1)); Central_America_and_Caribbean_c89_high_l_cum(i,1) = sum(Central_America_and_Caribbean_c89_high_l_sort(1:i,1)); Central_America_and_Caribbean_c89_low_h_cum(i,1) = sum(Central_America_and_Caribbean_c89_low_h_sort(1:i,1)); Central_America_and_Caribbean_c89_high_h_cum(i,1) = sum(Central_America_and_Caribbean_c89_high_h_sort(1:i,1)); Central_Asia_c4_low_l_cum(i,1) = sum(Central_Asia_c4_low_l_sort(1:i,1)); Central_Asia_c4_high_l_cum(i,1) = sum(Central_Asia_c4_high_l_sort(1:i,1)); Central_Asia_c4_low_h_cum(i,1) = sum(Central_Asia_c4_low_h_sort(1:i,1)); Central_Asia_c4_high_h_cum(i,1) = sum(Central_Asia_c4_high_h_sort(1:i,1)); Central_Asia_c5_low_l_cum(i,1) = sum(Central_Asia_c5_low_l_sort(1:i,1)); Central_Asia_c5_high_l_cum(i,1) = sum(Central_Asia_c5_high_l_sort(1:i,1)); Central_Asia_c5_low_h_cum(i,1) = sum(Central_Asia_c5_low_h_sort(1:i,1)); Central_Asia_c5_high_h_cum(i,1) = sum(Central_Asia_c5_high_h_sort(1:i,1)); Central_Asia_c6_low_l_cum(i,1) = sum(Central_Asia_c6_low_l_sort(1:i,1)); Central_Asia_c6_high_l_cum(i,1) = sum(Central_Asia_c6_high_l_sort(1:i,1)); Central_Asia_c6_low_h_cum(i,1) = sum(Central_Asia_c6_low_h_sort(1:i,1)); Central_Asia_c6_high_h_cum(i,1) = sum(Central_Asia_c6_high_h_sort(1:i,1)); Central_Asia_c7_low_l_cum(i,1) = sum(Central_Asia_c7_low_l_sort(1:i,1)); Central_Asia_c7_high_l_cum(i,1) = sum(Central_Asia_c7_high_l_sort(1:i,1)); Central_Asia_c7_low_h_cum(i,1) = sum(Central_Asia_c7_low_h_sort(1:i,1)); Central_Asia_c7_high_h_cum(i,1) = sum(Central_Asia_c7_high_h_sort(1:i,1)); Central_Asia_c89_low_l_cum(i,1) = sum(Central_Asia_c89_low_l_sort(1:i,1)); Central_Asia_c89_high_l_cum(i,1) = sum(Central_Asia_c89_high_l_sort(1:i,1)); Central_Asia_c89_low_h_cum(i,1) = sum(Central_Asia_c89_low_h_sort(1:i,1)); Central_Asia_c89_high_h_cum(i,1) = sum(Central_Asia_c89_high_h_sort(1:i,1)); China_c4_low_l_cum(i,1) = sum(China_c4_low_l_sort(1:i,1)); China_c4_high_l_cum(i,1) = sum(China_c4_high_l_sort(1:i,1)); China_c4_low_h_cum(i,1) = sum(China_c4_low_h_sort(1:i,1)); China_c4_high_h_cum(i,1) = sum(China_c4_high_h_sort(1:i,1)); China_c5_low_l_cum(i,1) = sum(China_c5_low_l_sort(1:i,1)); China_c5_high_l_cum(i,1) = sum(China_c5_high_l_sort(1:i,1)); China_c5_low_h_cum(i,1) = sum(China_c5_low_h_sort(1:i,1)); China_c5_high_h_cum(i,1) = sum(China_c5_high_h_sort(1:i,1)); China_c6_low_l_cum(i,1) = sum(China_c6_low_l_sort(1:i,1)); China_c6_high_l_cum(i,1) = sum(China_c6_high_l_sort(1:i,1)); China_c6_low_h_cum(i,1) = sum(China_c6_low_h_sort(1:i,1)); China_c6_high_h_cum(i,1) = sum(China_c6_high_h_sort(1:i,1)); China_c7_low_l_cum(i,1) = sum(China_c7_low_l_sort(1:i,1)); China_c7_high_l_cum(i,1) = sum(China_c7_high_l_sort(1:i,1)); China_c7_low_h_cum(i,1) = sum(China_c7_low_h_sort(1:i,1)); China_c7_high_h_cum(i,1) = sum(China_c7_high_h_sort(1:i,1)); China_c89_low_l_cum(i,1) = sum(China_c89_low_l_sort(1:i,1)); China_c89_high_l_cum(i,1) = sum(China_c89_high_l_sort(1:i,1)); China_c89_low_h_cum(i,1) = sum(China_c89_low_h_sort(1:i,1)); China_c89_high_h_cum(i,1) = sum(China_c89_high_h_sort(1:i,1)); EU_12_c4_low_l_cum(i,1) = sum(EU_12_c4_low_l_sort(1:i,1)); EU_12_c4_high_l_cum(i,1) = sum(EU_12_c4_high_l_sort(1:i,1)); EU_12_c4_low_h_cum(i,1) = sum(EU_12_c4_low_h_sort(1:i,1)); EU_12_c4_high_h_cum(i,1) = sum(EU_12_c4_high_h_sort(1:i,1)); EU_12_c5_low_l_cum(i,1) = sum(EU_12_c5_low_l_sort(1:i,1)); EU_12_c5_high_l_cum(i,1) = sum(EU_12_c5_high_l_sort(1:i,1)); EU_12_c5_low_h_cum(i,1) = sum(EU_12_c5_low_h_sort(1:i,1)); EU_12_c5_high_h_cum(i,1) = sum(EU_12_c5_high_h_sort(1:i,1)); EU_12_c6_low_l_cum(i,1) = sum(EU_12_c6_low_l_sort(1:i,1)); EU_12_c6_high_l_cum(i,1) = sum(EU_12_c6_high_l_sort(1:i,1)); EU_12_c6_low_h_cum(i,1) = sum(EU_12_c6_low_h_sort(1:i,1)); EU_12_c6_high_h_cum(i,1) = sum(EU_12_c6_high_h_sort(1:i,1)); EU_12_c7_low_l_cum(i,1) = sum(EU_12_c7_low_l_sort(1:i,1)); EU_12_c7_high_l_cum(i,1) = sum(EU_12_c7_high_l_sort(1:i,1)); EU_12_c7_low_h_cum(i,1) = sum(EU_12_c7_low_h_sort(1:i,1)); EU_12_c7_high_h_cum(i,1) = sum(EU_12_c7_high_h_sort(1:i,1)); EU_12_c89_low_l_cum(i,1) = sum(EU_12_c89_low_l_sort(1:i,1)); EU_12_c89_high_l_cum(i,1) = sum(EU_12_c89_high_l_sort(1:i,1)); EU_12_c89_low_h_cum(i,1) = sum(EU_12_c89_low_h_sort(1:i,1)); EU_12_c89_high_h_cum(i,1) = sum(EU_12_c89_high_h_sort(1:i,1)); EU_15_c4_low_l_cum(i,1) = sum(EU_15_c4_low_l_sort(1:i,1)); EU_15_c4_high_l_cum(i,1) = sum(EU_15_c4_high_l_sort(1:i,1)); EU_15_c4_low_h_cum(i,1) = sum(EU_15_c4_low_h_sort(1:i,1)); EU_15_c4_high_h_cum(i,1) = sum(EU_15_c4_high_h_sort(1:i,1)); EU_15_c5_low_l_cum(i,1) = sum(EU_15_c5_low_l_sort(1:i,1)); EU_15_c5_high_l_cum(i,1) = sum(EU_15_c5_high_l_sort(1:i,1)); EU_15_c5_low_h_cum(i,1) = sum(EU_15_c5_low_h_sort(1:i,1)); EU_15_c5_high_h_cum(i,1) = sum(EU_15_c5_high_h_sort(1:i,1)); EU_15_c6_low_l_cum(i,1) = sum(EU_15_c6_low_l_sort(1:i,1)); EU_15_c6_high_l_cum(i,1) = sum(EU_15_c6_high_l_sort(1:i,1)); EU_15_c6_low_h_cum(i,1) = sum(EU_15_c6_low_h_sort(1:i,1)); EU_15_c6_high_h_cum(i,1) = sum(EU_15_c6_high_h_sort(1:i,1)); EU_15_c7_low_l_cum(i,1) = sum(EU_15_c7_low_l_sort(1:i,1)); EU_15_c7_high_l_cum(i,1) = sum(EU_15_c7_high_l_sort(1:i,1)); EU_15_c7_low_h_cum(i,1) = sum(EU_15_c7_low_h_sort(1:i,1)); EU_15_c7_high_h_cum(i,1) = sum(EU_15_c7_high_h_sort(1:i,1)); EU_15_c89_low_l_cum(i,1) = sum(EU_15_c89_low_l_sort(1:i,1)); EU_15_c89_high_l_cum(i,1) = sum(EU_15_c89_high_l_sort(1:i,1)); EU_15_c89_low_h_cum(i,1) = sum(EU_15_c89_low_h_sort(1:i,1)); EU_15_c89_high_h_cum(i,1) = sum(EU_15_c89_high_h_sort(1:i,1)); Europe_Eastern_c4_low_l_cum(i,1) = sum(Europe_Eastern_c4_low_l_sort(1:i,1)); Europe_Eastern_c4_high_l_cum(i,1) = sum(Europe_Eastern_c4_high_l_sort(1:i,1)); Europe_Eastern_c4_low_h_cum(i,1) = sum(Europe_Eastern_c4_low_h_sort(1:i,1)); Europe_Eastern_c4_high_h_cum(i,1) = sum(Europe_Eastern_c4_high_h_sort(1:i,1)); Europe_Eastern_c5_low_l_cum(i,1) = sum(Europe_Eastern_c5_low_l_sort(1:i,1)); Europe_Eastern_c5_high_l_cum(i,1) = sum(Europe_Eastern_c5_high_l_sort(1:i,1)); Europe_Eastern_c5_low_h_cum(i,1) = sum(Europe_Eastern_c5_low_h_sort(1:i,1)); Europe_Eastern_c5_high_h_cum(i,1) = sum(Europe_Eastern_c5_high_h_sort(1:i,1)); Europe_Eastern_c6_low_l_cum(i,1) = sum(Europe_Eastern_c6_low_l_sort(1:i,1)); Europe_Eastern_c6_high_l_cum(i,1) = sum(Europe_Eastern_c6_high_l_sort(1:i,1)); Europe_Eastern_c6_low_h_cum(i,1) = sum(Europe_Eastern_c6_low_h_sort(1:i,1)); Europe_Eastern_c6_high_h_cum(i,1) = sum(Europe_Eastern_c6_high_h_sort(1:i,1)); Europe_Eastern_c7_low_l_cum(i,1) = sum(Europe_Eastern_c7_low_l_sort(1:i,1)); Europe_Eastern_c7_high_l_cum(i,1) = sum(Europe_Eastern_c7_high_l_sort(1:i,1)); Europe_Eastern_c7_low_h_cum(i,1) = sum(Europe_Eastern_c7_low_h_sort(1:i,1)); Europe_Eastern_c7_high_h_cum(i,1) = sum(Europe_Eastern_c7_high_h_sort(1:i,1)); Europe_Eastern_c89_low_l_cum(i,1) = sum(Europe_Eastern_c89_low_l_sort(1:i,1)); Europe_Eastern_c89_high_l_cum(i,1) = sum(Europe_Eastern_c89_high_l_sort(1:i,1)); Europe_Eastern_c89_low_h_cum(i,1) = sum(Europe_Eastern_c89_low_h_sort(1:i,1)); Europe_Eastern_c89_high_h_cum(i,1) = sum(Europe_Eastern_c89_high_h_sort(1:i,1)); Europe_Non_EU_c4_low_l_cum(i,1) = sum(Europe_Non_EU_c4_low_l_sort(1:i,1)); Europe_Non_EU_c4_high_l_cum(i,1) = sum(Europe_Non_EU_c4_high_l_sort(1:i,1)); Europe_Non_EU_c4_low_h_cum(i,1) = sum(Europe_Non_EU_c4_low_h_sort(1:i,1)); Europe_Non_EU_c4_high_h_cum(i,1) = sum(Europe_Non_EU_c4_high_h_sort(1:i,1)); Europe_Non_EU_c5_low_l_cum(i,1) = sum(Europe_Non_EU_c5_low_l_sort(1:i,1)); Europe_Non_EU_c5_high_l_cum(i,1) = sum(Europe_Non_EU_c5_high_l_sort(1:i,1)); Europe_Non_EU_c5_low_h_cum(i,1) = sum(Europe_Non_EU_c5_low_h_sort(1:i,1)); Europe_Non_EU_c5_high_h_cum(i,1) = sum(Europe_Non_EU_c5_high_h_sort(1:i,1)); Europe_Non_EU_c6_low_l_cum(i,1) = sum(Europe_Non_EU_c6_low_l_sort(1:i,1)); Europe_Non_EU_c6_high_l_cum(i,1) = sum(Europe_Non_EU_c6_high_l_sort(1:i,1)); Europe_Non_EU_c6_low_h_cum(i,1) = sum(Europe_Non_EU_c6_low_h_sort(1:i,1)); Europe_Non_EU_c6_high_h_cum(i,1) = sum(Europe_Non_EU_c6_high_h_sort(1:i,1)); Europe_Non_EU_c7_low_l_cum(i,1) = sum(Europe_Non_EU_c7_low_l_sort(1:i,1)); Europe_Non_EU_c7_high_l_cum(i,1) = sum(Europe_Non_EU_c7_high_l_sort(1:i,1)); Europe_Non_EU_c7_low_h_cum(i,1) = sum(Europe_Non_EU_c7_low_h_sort(1:i,1)); Europe_Non_EU_c7_high_h_cum(i,1) = sum(Europe_Non_EU_c7_high_h_sort(1:i,1)); Europe_Non_EU_c89_low_l_cum(i,1) = sum(Europe_Non_EU_c89_low_l_sort(1:i,1)); Europe_Non_EU_c89_high_l_cum(i,1) = sum(Europe_Non_EU_c89_high_l_sort(1:i,1)); Europe_Non_EU_c89_low_h_cum(i,1) = sum(Europe_Non_EU_c89_low_h_sort(1:i,1)); Europe_Non_EU_c89_high_h_cum(i,1) = sum(Europe_Non_EU_c89_high_h_sort(1:i,1)); European_Free_Trade_Association_c4_low_l_cum(i,1) = sum(European_Free_Trade_Association_c4_low_l_sort(1:i,1)); European_Free_Trade_Association_c4_high_l_cum(i,1) = sum(European_Free_Trade_Association_c4_high_l_sort(1:i,1)); European_Free_Trade_Association_c4_low_h_cum(i,1) = sum(European_Free_Trade_Association_c4_low_h_sort(1:i,1)); European_Free_Trade_Association_c4_high_h_cum(i,1) = sum(European_Free_Trade_Association_c4_high_h_sort(1:i,1)); European_Free_Trade_Association_c5_low_l_cum(i,1) = sum(European_Free_Trade_Association_c5_low_l_sort(1:i,1)); European_Free_Trade_Association_c5_high_l_cum(i,1) = sum(European_Free_Trade_Association_c5_high_l_sort(1:i,1)); European_Free_Trade_Association_c5_low_h_cum(i,1) = sum(European_Free_Trade_Association_c5_low_h_sort(1:i,1)); European_Free_Trade_Association_c5_high_h_cum(i,1) = sum(European_Free_Trade_Association_c5_high_h_sort(1:i,1)); European_Free_Trade_Association_c6_low_l_cum(i,1) = sum(European_Free_Trade_Association_c6_low_l_sort(1:i,1)); European_Free_Trade_Association_c6_high_l_cum(i,1) = sum(European_Free_Trade_Association_c6_high_l_sort(1:i,1)); European_Free_Trade_Association_c6_low_h_cum(i,1) = sum(European_Free_Trade_Association_c6_low_h_sort(1:i,1)); European_Free_Trade_Association_c6_high_h_cum(i,1) = sum(European_Free_Trade_Association_c6_high_h_sort(1:i,1)); European_Free_Trade_Association_c7_low_l_cum(i,1) = sum(European_Free_Trade_Association_c7_low_l_sort(1:i,1)); European_Free_Trade_Association_c7_high_l_cum(i,1) = sum(European_Free_Trade_Association_c7_high_l_sort(1:i,1)); European_Free_Trade_Association_c7_low_h_cum(i,1) = sum(European_Free_Trade_Association_c7_low_h_sort(1:i,1)); European_Free_Trade_Association_c7_high_h_cum(i,1) = sum(European_Free_Trade_Association_c7_high_h_sort(1:i,1)); European_Free_Trade_Association_c89_low_l_cum(i,1) = sum(European_Free_Trade_Association_c89_low_l_sort(1:i,1)); European_Free_Trade_Association_c89_high_l_cum(i,1) = sum(European_Free_Trade_Association_c89_high_l_sort(1:i,1)); European_Free_Trade_Association_c89_low_h_cum(i,1) = sum(European_Free_Trade_Association_c89_low_h_sort(1:i,1)); European_Free_Trade_Association_c89_high_h_cum(i,1) = sum(European_Free_Trade_Association_c89_high_h_sort(1:i,1)); India_c4_low_l_cum(i,1) = sum(India_c4_low_l_sort(1:i,1)); India_c4_high_l_cum(i,1) = sum(India_c4_high_l_sort(1:i,1)); India_c4_low_h_cum(i,1) = sum(India_c4_low_h_sort(1:i,1)); India_c4_high_h_cum(i,1) = sum(India_c4_high_h_sort(1:i,1)); India_c5_low_l_cum(i,1) = sum(India_c5_low_l_sort(1:i,1)); India_c5_high_l_cum(i,1) = sum(India_c5_high_l_sort(1:i,1)); India_c5_low_h_cum(i,1) = sum(India_c5_low_h_sort(1:i,1)); India_c5_high_h_cum(i,1) = sum(India_c5_high_h_sort(1:i,1)); India_c6_low_l_cum(i,1) = sum(India_c6_low_l_sort(1:i,1)); India_c6_high_l_cum(i,1) = sum(India_c6_high_l_sort(1:i,1)); India_c6_low_h_cum(i,1) = sum(India_c6_low_h_sort(1:i,1)); India_c6_high_h_cum(i,1) = sum(India_c6_high_h_sort(1:i,1)); India_c7_low_l_cum(i,1) = sum(India_c7_low_l_sort(1:i,1)); India_c7_high_l_cum(i,1) = sum(India_c7_high_l_sort(1:i,1)); India_c7_low_h_cum(i,1) = sum(India_c7_low_h_sort(1:i,1)); India_c7_high_h_cum(i,1) = sum(India_c7_high_h_sort(1:i,1)); India_c89_low_l_cum(i,1) = sum(India_c89_low_l_sort(1:i,1)); India_c89_high_l_cum(i,1) = sum(India_c89_high_l_sort(1:i,1)); India_c89_low_h_cum(i,1) = sum(India_c89_low_h_sort(1:i,1)); India_c89_high_h_cum(i,1) = sum(India_c89_high_h_sort(1:i,1)); Indonesia_c4_low_l_cum(i,1) = sum(Indonesia_c4_low_l_sort(1:i,1)); Indonesia_c4_high_l_cum(i,1) = sum(Indonesia_c4_high_l_sort(1:i,1)); Indonesia_c4_low_h_cum(i,1) = sum(Indonesia_c4_low_h_sort(1:i,1)); Indonesia_c4_high_h_cum(i,1) = sum(Indonesia_c4_high_h_sort(1:i,1)); Indonesia_c5_low_l_cum(i,1) = sum(Indonesia_c5_low_l_sort(1:i,1)); Indonesia_c5_high_l_cum(i,1) = sum(Indonesia_c5_high_l_sort(1:i,1)); Indonesia_c5_low_h_cum(i,1) = sum(Indonesia_c5_low_h_sort(1:i,1)); Indonesia_c5_high_h_cum(i,1) = sum(Indonesia_c5_high_h_sort(1:i,1)); Indonesia_c6_low_l_cum(i,1) = sum(Indonesia_c6_low_l_sort(1:i,1)); Indonesia_c6_high_l_cum(i,1) = sum(Indonesia_c6_high_l_sort(1:i,1)); Indonesia_c6_low_h_cum(i,1) = sum(Indonesia_c6_low_h_sort(1:i,1)); Indonesia_c6_high_h_cum(i,1) = sum(Indonesia_c6_high_h_sort(1:i,1)); Indonesia_c7_low_l_cum(i,1) = sum(Indonesia_c7_low_l_sort(1:i,1)); Indonesia_c7_high_l_cum(i,1) = sum(Indonesia_c7_high_l_sort(1:i,1)); Indonesia_c7_low_h_cum(i,1) = sum(Indonesia_c7_low_h_sort(1:i,1)); Indonesia_c7_high_h_cum(i,1) = sum(Indonesia_c7_high_h_sort(1:i,1)); Indonesia_c89_low_l_cum(i,1) = sum(Indonesia_c89_low_l_sort(1:i,1)); Indonesia_c89_high_l_cum(i,1) = sum(Indonesia_c89_high_l_sort(1:i,1)); Indonesia_c89_low_h_cum(i,1) = sum(Indonesia_c89_low_h_sort(1:i,1)); Indonesia_c89_high_h_cum(i,1) = sum(Indonesia_c89_high_h_sort(1:i,1)); Japan_c4_low_l_cum(i,1) = sum(Japan_c4_low_l_sort(1:i,1)); Japan_c4_high_l_cum(i,1) = sum(Japan_c4_high_l_sort(1:i,1)); Japan_c4_low_h_cum(i,1) = sum(Japan_c4_low_h_sort(1:i,1)); Japan_c4_high_h_cum(i,1) = sum(Japan_c4_high_h_sort(1:i,1)); Japan_c5_low_l_cum(i,1) = sum(Japan_c5_low_l_sort(1:i,1)); Japan_c5_high_l_cum(i,1) = sum(Japan_c5_high_l_sort(1:i,1)); Japan_c5_low_h_cum(i,1) = sum(Japan_c5_low_h_sort(1:i,1)); Japan_c5_high_h_cum(i,1) = sum(Japan_c5_high_h_sort(1:i,1)); Japan_c6_low_l_cum(i,1) = sum(Japan_c6_low_l_sort(1:i,1)); Japan_c6_high_l_cum(i,1) = sum(Japan_c6_high_l_sort(1:i,1)); Japan_c6_low_h_cum(i,1) = sum(Japan_c6_low_h_sort(1:i,1)); Japan_c6_high_h_cum(i,1) = sum(Japan_c6_high_h_sort(1:i,1)); Japan_c7_low_l_cum(i,1) = sum(Japan_c7_low_l_sort(1:i,1)); Japan_c7_high_l_cum(i,1) = sum(Japan_c7_high_l_sort(1:i,1)); Japan_c7_low_h_cum(i,1) = sum(Japan_c7_low_h_sort(1:i,1)); Japan_c7_high_h_cum(i,1) = sum(Japan_c7_high_h_sort(1:i,1)); Japan_c89_low_l_cum(i,1) = sum(Japan_c89_low_l_sort(1:i,1)); Japan_c89_high_l_cum(i,1) = sum(Japan_c89_high_l_sort(1:i,1)); Japan_c89_low_h_cum(i,1) = sum(Japan_c89_low_h_sort(1:i,1)); Japan_c89_high_h_cum(i,1) = sum(Japan_c89_high_h_sort(1:i,1)); Mexico_c4_low_l_cum(i,1) = sum(Mexico_c4_low_l_sort(1:i,1)); Mexico_c4_high_l_cum(i,1) = sum(Mexico_c4_high_l_sort(1:i,1)); Mexico_c4_low_h_cum(i,1) = sum(Mexico_c4_low_h_sort(1:i,1)); Mexico_c4_high_h_cum(i,1) = sum(Mexico_c4_high_h_sort(1:i,1)); Mexico_c5_low_l_cum(i,1) = sum(Mexico_c5_low_l_sort(1:i,1)); Mexico_c5_high_l_cum(i,1) = sum(Mexico_c5_high_l_sort(1:i,1)); Mexico_c5_low_h_cum(i,1) = sum(Mexico_c5_low_h_sort(1:i,1)); Mexico_c5_high_h_cum(i,1) = sum(Mexico_c5_high_h_sort(1:i,1)); Mexico_c6_low_l_cum(i,1) = sum(Mexico_c6_low_l_sort(1:i,1)); Mexico_c6_high_l_cum(i,1) = sum(Mexico_c6_high_l_sort(1:i,1)); Mexico_c6_low_h_cum(i,1) = sum(Mexico_c6_low_h_sort(1:i,1)); Mexico_c6_high_h_cum(i,1) = sum(Mexico_c6_high_h_sort(1:i,1)); Mexico_c7_low_l_cum(i,1) = sum(Mexico_c7_low_l_sort(1:i,1)); Mexico_c7_high_l_cum(i,1) = sum(Mexico_c7_high_l_sort(1:i,1)); Mexico_c7_low_h_cum(i,1) = sum(Mexico_c7_low_h_sort(1:i,1)); Mexico_c7_high_h_cum(i,1) = sum(Mexico_c7_high_h_sort(1:i,1)); Mexico_c89_low_l_cum(i,1) = sum(Mexico_c89_low_l_sort(1:i,1)); Mexico_c89_high_l_cum(i,1) = sum(Mexico_c89_high_l_sort(1:i,1)); Mexico_c89_low_h_cum(i,1) = sum(Mexico_c89_low_h_sort(1:i,1)); Mexico_c89_high_h_cum(i,1) = sum(Mexico_c89_high_h_sort(1:i,1)); Middle_East_c4_low_l_cum(i,1) = sum(Middle_East_c4_low_l_sort(1:i,1)); Middle_East_c4_high_l_cum(i,1) = sum(Middle_East_c4_high_l_sort(1:i,1)); Middle_East_c4_low_h_cum(i,1) = sum(Middle_East_c4_low_h_sort(1:i,1)); Middle_East_c4_high_h_cum(i,1) = sum(Middle_East_c4_high_h_sort(1:i,1)); Middle_East_c5_low_l_cum(i,1) = sum(Middle_East_c5_low_l_sort(1:i,1)); Middle_East_c5_high_l_cum(i,1) = sum(Middle_East_c5_high_l_sort(1:i,1)); Middle_East_c5_low_h_cum(i,1) = sum(Middle_East_c5_low_h_sort(1:i,1)); Middle_East_c5_high_h_cum(i,1) = sum(Middle_East_c5_high_h_sort(1:i,1)); Middle_East_c6_low_l_cum(i,1) = sum(Middle_East_c6_low_l_sort(1:i,1)); Middle_East_c6_high_l_cum(i,1) = sum(Middle_East_c6_high_l_sort(1:i,1)); Middle_East_c6_low_h_cum(i,1) = sum(Middle_East_c6_low_h_sort(1:i,1)); Middle_East_c6_high_h_cum(i,1) = sum(Middle_East_c6_high_h_sort(1:i,1)); Middle_East_c7_low_l_cum(i,1) = sum(Middle_East_c7_low_l_sort(1:i,1)); Middle_East_c7_high_l_cum(i,1) = sum(Middle_East_c7_high_l_sort(1:i,1)); Middle_East_c7_low_h_cum(i,1) = sum(Middle_East_c7_low_h_sort(1:i,1)); Middle_East_c7_high_h_cum(i,1) = sum(Middle_East_c7_high_h_sort(1:i,1)); Middle_East_c89_low_l_cum(i,1) = sum(Middle_East_c7_low_l_sort(1:i,1)); Middle_East_c89_high_l_cum(i,1) = sum(Middle_East_c7_high_l_sort(1:i,1)); Middle_East_c89_low_h_cum(i,1) = sum(Middle_East_c7_low_h_sort(1:i,1)); Middle_East_c89_high_h_cum(i,1) = sum(Middle_East_c7_high_h_sort(1:i,1)); Pakistan_c4_low_l_cum(i,1) = sum(Pakistan_c4_low_l_sort(1:i,1)); Pakistan_c4_high_l_cum(i,1) = sum(Pakistan_c4_high_l_sort(1:i,1)); Pakistan_c4_low_h_cum(i,1) = sum(Pakistan_c4_low_h_sort(1:i,1)); Pakistan_c4_high_h_cum(i,1) = sum(Pakistan_c4_high_h_sort(1:i,1)); Pakistan_c5_low_l_cum(i,1) = sum(Pakistan_c5_low_l_sort(1:i,1)); Pakistan_c5_high_l_cum(i,1) = sum(Pakistan_c5_high_l_sort(1:i,1)); Pakistan_c5_low_h_cum(i,1) = sum(Pakistan_c5_low_h_sort(1:i,1)); Pakistan_c5_high_h_cum(i,1) = sum(Pakistan_c5_high_h_sort(1:i,1)); Pakistan_c6_low_l_cum(i,1) = sum(Pakistan_c6_low_l_sort(1:i,1)); Pakistan_c6_high_l_cum(i,1) = sum(Pakistan_c6_high_l_sort(1:i,1)); Pakistan_c6_low_h_cum(i,1) = sum(Pakistan_c6_low_h_sort(1:i,1)); Pakistan_c6_high_h_cum(i,1) = sum(Pakistan_c6_high_h_sort(1:i,1)); Pakistan_c7_low_l_cum(i,1) = sum(Pakistan_c7_low_l_sort(1:i,1)); Pakistan_c7_high_l_cum(i,1) = sum(Pakistan_c7_high_l_sort(1:i,1)); Pakistan_c7_low_h_cum(i,1) = sum(Pakistan_c7_low_h_sort(1:i,1)); Pakistan_c7_high_h_cum(i,1) = sum(Pakistan_c7_high_h_sort(1:i,1)); Pakistan_c89_low_l_cum(i,1) = sum(Pakistan_c89_low_l_sort(1:i,1)); Pakistan_c89_high_l_cum(i,1) = sum(Pakistan_c89_high_l_sort(1:i,1)); Pakistan_c89_low_h_cum(i,1) = sum(Pakistan_c89_low_h_sort(1:i,1)); Pakistan_c89_high_h_cum(i,1) = sum(Pakistan_c89_high_h_sort(1:i,1)); Russia_c4_low_l_cum(i,1) = sum(Russia_c4_low_l_sort(1:i,1)); Russia_c4_high_l_cum(i,1) = sum(Russia_c4_high_l_sort(1:i,1)); Russia_c4_low_h_cum(i,1) = sum(Russia_c4_low_h_sort(1:i,1)); Russia_c4_high_h_cum(i,1) = sum(Russia_c4_high_h_sort(1:i,1)); Russia_c5_low_l_cum(i,1) = sum(Russia_c5_low_l_sort(1:i,1)); Russia_c5_high_l_cum(i,1) = sum(Russia_c5_high_l_sort(1:i,1)); Russia_c5_low_h_cum(i,1) = sum(Russia_c5_low_h_sort(1:i,1)); Russia_c5_high_h_cum(i,1) = sum(Russia_c5_high_h_sort(1:i,1)); Russia_c6_low_l_cum(i,1) = sum(Russia_c6_low_l_sort(1:i,1)); Russia_c6_high_l_cum(i,1) = sum(Russia_c6_high_l_sort(1:i,1)); Russia_c6_low_h_cum(i,1) = sum(Russia_c6_low_h_sort(1:i,1)); Russia_c6_high_h_cum(i,1) = sum(Russia_c6_high_h_sort(1:i,1)); Russia_c7_low_l_cum(i,1) = sum(Russia_c7_low_l_sort(1:i,1)); Russia_c7_high_l_cum(i,1) = sum(Russia_c7_high_l_sort(1:i,1)); Russia_c7_low_h_cum(i,1) = sum(Russia_c7_low_h_sort(1:i,1)); Russia_c7_high_h_cum(i,1) = sum(Russia_c7_high_h_sort(1:i,1)); Russia_c89_low_l_cum(i,1) = sum(Russia_c89_low_l_sort(1:i,1)); Russia_c89_high_l_cum(i,1) = sum(Russia_c89_high_l_sort(1:i,1)); Russia_c89_low_h_cum(i,1) = sum(Russia_c89_low_h_sort(1:i,1)); Russia_c89_high_h_cum(i,1) = sum(Russia_c89_high_h_sort(1:i,1)); South_Africa_c4_low_l_cum(i,1) = sum(South_Africa_c4_low_l_sort(1:i,1)); South_Africa_c4_high_l_cum(i,1) = sum(South_Africa_c4_high_l_sort(1:i,1)); South_Africa_c4_low_h_cum(i,1) = sum(South_Africa_c4_low_h_sort(1:i,1)); South_Africa_c4_high_h_cum(i,1) = sum(South_Africa_c4_high_h_sort(1:i,1)); South_Africa_c5_low_l_cum(i,1) = sum(South_Africa_c5_low_l_sort(1:i,1)); South_Africa_c5_high_l_cum(i,1) = sum(South_Africa_c5_high_l_sort(1:i,1)); South_Africa_c5_low_h_cum(i,1) = sum(South_Africa_c5_low_h_sort(1:i,1)); South_Africa_c5_high_h_cum(i,1) = sum(South_Africa_c5_high_h_sort(1:i,1)); South_Africa_c6_low_l_cum(i,1) = sum(South_Africa_c6_low_l_sort(1:i,1)); South_Africa_c6_high_l_cum(i,1) = sum(South_Africa_c6_high_l_sort(1:i,1)); South_Africa_c6_low_h_cum(i,1) = sum(South_Africa_c6_low_h_sort(1:i,1)); South_Africa_c6_high_h_cum(i,1) = sum(South_Africa_c6_high_h_sort(1:i,1)); South_Africa_c7_low_l_cum(i,1) = sum(South_Africa_c7_low_l_sort(1:i,1)); South_Africa_c7_high_l_cum(i,1) = sum(South_Africa_c7_high_l_sort(1:i,1)); South_Africa_c7_low_h_cum(i,1) = sum(South_Africa_c7_low_h_sort(1:i,1)); South_Africa_c7_high_h_cum(i,1) = sum(South_Africa_c7_high_h_sort(1:i,1)); South_Africa_c89_low_l_cum(i,1) = sum(South_Africa_c89_low_l_sort(1:i,1)); South_Africa_c89_high_l_cum(i,1) = sum(South_Africa_c89_high_l_sort(1:i,1)); South_Africa_c89_low_h_cum(i,1) = sum(South_Africa_c89_low_h_sort(1:i,1)); South_Africa_c89_high_h_cum(i,1) = sum(South_Africa_c89_high_h_sort(1:i,1)); South_America_Northern_c4_low_l_cum(i,1) = sum(South_America_Northern_c4_low_l_sort(1:i,1)); South_America_Northern_c4_high_l_cum(i,1) = sum(South_America_Northern_c4_high_l_sort(1:i,1)); South_America_Northern_c4_low_h_cum(i,1) = sum(South_America_Northern_c4_low_h_sort(1:i,1)); South_America_Northern_c4_high_h_cum(i,1) = sum(South_America_Northern_c4_high_h_sort(1:i,1)); South_America_Northern_c5_low_l_cum(i,1) = sum(South_America_Northern_c5_low_l_sort(1:i,1)); South_America_Northern_c5_high_l_cum(i,1) = sum(South_America_Northern_c5_high_l_sort(1:i,1)); South_America_Northern_c5_low_h_cum(i,1) = sum(South_America_Northern_c5_low_h_sort(1:i,1)); South_America_Northern_c5_high_h_cum(i,1) = sum(South_America_Northern_c5_high_h_sort(1:i,1)); South_America_Northern_c6_low_l_cum(i,1) = sum(South_America_Northern_c6_low_l_sort(1:i,1)); South_America_Northern_c6_high_l_cum(i,1) = sum(South_America_Northern_c6_high_l_sort(1:i,1)); South_America_Northern_c6_low_h_cum(i,1) = sum(South_America_Northern_c6_low_h_sort(1:i,1)); South_America_Northern_c6_high_h_cum(i,1) = sum(South_America_Northern_c6_high_h_sort(1:i,1)); South_America_Northern_c7_low_l_cum(i,1) = sum(South_America_Northern_c7_low_l_sort(1:i,1)); South_America_Northern_c7_high_l_cum(i,1) = sum(South_America_Northern_c7_high_l_sort(1:i,1)); South_America_Northern_c7_low_h_cum(i,1) = sum(South_America_Northern_c7_low_h_sort(1:i,1)); South_America_Northern_c7_high_h_cum(i,1) = sum(South_America_Northern_c7_high_h_sort(1:i,1)); South_America_Northern_c89_low_l_cum(i,1) = sum(South_America_Northern_c89_low_l_sort(1:i,1)); South_America_Northern_c89_high_l_cum(i,1) = sum(South_America_Northern_c89_high_l_sort(1:i,1)); South_America_Northern_c89_low_h_cum(i,1) = sum(South_America_Northern_c89_low_h_sort(1:i,1)); South_America_Northern_c89_high_h_cum(i,1) = sum(South_America_Northern_c89_high_h_sort(1:i,1)); South_America_Southern_c4_low_l_cum(i,1) = sum(South_America_Southern_c4_low_l_sort(1:i,1)); South_America_Southern_c4_high_l_cum(i,1) = sum(South_America_Southern_c4_high_l_sort(1:i,1)); South_America_Southern_c4_low_h_cum(i,1) = sum(South_America_Southern_c4_low_h_sort(1:i,1)); South_America_Southern_c4_high_h_cum(i,1) = sum(South_America_Southern_c4_high_h_sort(1:i,1)); South_America_Southern_c5_low_l_cum(i,1) = sum(South_America_Southern_c5_low_l_sort(1:i,1)); South_America_Southern_c5_high_l_cum(i,1) = sum(South_America_Southern_c5_high_l_sort(1:i,1)); South_America_Southern_c5_low_h_cum(i,1) = sum(South_America_Southern_c5_low_h_sort(1:i,1)); South_America_Southern_c5_high_h_cum(i,1) = sum(South_America_Southern_c5_high_h_sort(1:i,1)); South_America_Southern_c6_low_l_cum(i,1) = sum(South_America_Southern_c6_low_l_sort(1:i,1)); South_America_Southern_c6_high_l_cum(i,1) = sum(South_America_Southern_c6_high_l_sort(1:i,1)); South_America_Southern_c6_low_h_cum(i,1) = sum(South_America_Southern_c6_low_h_sort(1:i,1)); South_America_Southern_c6_high_h_cum(i,1) = sum(South_America_Southern_c6_high_h_sort(1:i,1)); South_America_Southern_c7_low_l_cum(i,1) = sum(South_America_Southern_c7_low_l_sort(1:i,1)); South_America_Southern_c7_high_l_cum(i,1) = sum(South_America_Southern_c7_high_l_sort(1:i,1)); South_America_Southern_c7_low_h_cum(i,1) = sum(South_America_Southern_c7_low_h_sort(1:i,1)); South_America_Southern_c7_high_h_cum(i,1) = sum(South_America_Southern_c7_high_h_sort(1:i,1)); South_America_Southern_c89_low_l_cum(i,1) = sum(South_America_Southern_c89_low_l_sort(1:i,1)); South_America_Southern_c89_high_l_cum(i,1) = sum(South_America_Southern_c89_high_l_sort(1:i,1)); South_America_Southern_c89_low_h_cum(i,1) = sum(South_America_Southern_c89_low_h_sort(1:i,1)); South_America_Southern_c89_high_h_cum(i,1) = sum(South_America_Southern_c89_high_h_sort(1:i,1)); South_Asia_c4_low_l_cum(i,1) = sum(South_Asia_c4_low_l_sort(1:i,1)); South_Asia_c4_high_l_cum(i,1) = sum(South_Asia_c4_high_l_sort(1:i,1)); South_Asia_c4_low_h_cum(i,1) = sum(South_Asia_c4_low_h_sort(1:i,1)); South_Asia_c4_high_h_cum(i,1) = sum(South_Asia_c4_high_h_sort(1:i,1)); South_Asia_c5_low_l_cum(i,1) = sum(South_Asia_c5_low_l_sort(1:i,1)); South_Asia_c5_high_l_cum(i,1) = sum(South_Asia_c5_high_l_sort(1:i,1)); South_Asia_c5_low_h_cum(i,1) = sum(South_Asia_c5_low_h_sort(1:i,1)); South_Asia_c5_high_h_cum(i,1) = sum(South_Asia_c5_high_h_sort(1:i,1)); South_Asia_c6_low_l_cum(i,1) = sum(South_Asia_c6_low_l_sort(1:i,1)); South_Asia_c6_high_l_cum(i,1) = sum(South_Asia_c6_high_l_sort(1:i,1)); South_Asia_c6_low_h_cum(i,1) = sum(South_Asia_c6_low_h_sort(1:i,1)); South_Asia_c6_high_h_cum(i,1) = sum(South_Asia_c6_high_h_sort(1:i,1)); South_Asia_c7_low_l_cum(i,1) = sum(South_Asia_c7_low_l_sort(1:i,1)); South_Asia_c7_high_l_cum(i,1) = sum(South_Asia_c7_high_l_sort(1:i,1)); South_Asia_c7_low_h_cum(i,1) = sum(South_Asia_c7_low_h_sort(1:i,1)); South_Asia_c7_high_h_cum(i,1) = sum(South_Asia_c7_high_h_sort(1:i,1)); South_Asia_c89_low_l_cum(i,1) = sum(South_Asia_c89_low_l_sort(1:i,1)); South_Asia_c89_high_l_cum(i,1) = sum(South_Asia_c89_high_l_sort(1:i,1)); South_Asia_c89_low_h_cum(i,1) = sum(South_Asia_c89_low_h_sort(1:i,1)); South_Asia_c89_high_h_cum(i,1) = sum(South_Asia_c89_high_h_sort(1:i,1)); South_Korea_c4_low_l_cum(i,1) = sum(South_Korea_c4_low_l_sort(1:i,1)); South_Korea_c4_high_l_cum(i,1) = sum(South_Korea_c4_high_l_sort(1:i,1)); South_Korea_c4_low_h_cum(i,1) = sum(South_Korea_c4_low_h_sort(1:i,1)); South_Korea_c4_high_h_cum(i,1) = sum(South_Korea_c4_high_h_sort(1:i,1)); South_Korea_c5_low_l_cum(i,1) = sum(South_Korea_c5_low_l_sort(1:i,1)); South_Korea_c5_high_l_cum(i,1) = sum(South_Korea_c5_high_l_sort(1:i,1)); South_Korea_c5_low_h_cum(i,1) = sum(South_Korea_c5_low_h_sort(1:i,1)); South_Korea_c5_high_h_cum(i,1) = sum(South_Korea_c5_high_h_sort(1:i,1)); South_Korea_c6_low_l_cum(i,1) = sum(South_Korea_c6_low_l_sort(1:i,1)); South_Korea_c6_high_l_cum(i,1) = sum(South_Korea_c6_high_l_sort(1:i,1)); South_Korea_c6_low_h_cum(i,1) = sum(South_Korea_c6_low_h_sort(1:i,1)); South_Korea_c6_high_h_cum(i,1) = sum(South_Korea_c6_high_h_sort(1:i,1)); South_Korea_c7_low_l_cum(i,1) = sum(South_Korea_c7_low_l_sort(1:i,1)); South_Korea_c7_high_l_cum(i,1) = sum(South_Korea_c7_high_l_sort(1:i,1)); South_Korea_c7_low_h_cum(i,1) = sum(South_Korea_c7_low_h_sort(1:i,1)); South_Korea_c7_high_h_cum(i,1) = sum(South_Korea_c7_high_h_sort(1:i,1)); South_Korea_c89_low_l_cum(i,1) = sum(South_Korea_c89_low_l_sort(1:i,1)); South_Korea_c89_high_l_cum(i,1) = sum(South_Korea_c89_high_l_sort(1:i,1)); South_Korea_c89_low_h_cum(i,1) = sum(South_Korea_c89_low_h_sort(1:i,1)); South_Korea_c89_high_h_cum(i,1) = sum(South_Korea_c89_high_h_sort(1:i,1)); Southeast_Asia_c4_low_l_cum(i,1) = sum(Southeast_Asia_c4_low_l_sort(1:i,1)); Southeast_Asia_c4_high_l_cum(i,1) = sum(Southeast_Asia_c4_high_l_sort(1:i,1)); Southeast_Asia_c4_low_h_cum(i,1) = sum(Southeast_Asia_c4_low_h_sort(1:i,1)); Southeast_Asia_c4_high_h_cum(i,1) = sum(Southeast_Asia_c4_high_h_sort(1:i,1)); Southeast_Asia_c5_low_l_cum(i,1) = sum(Southeast_Asia_c5_low_l_sort(1:i,1)); Southeast_Asia_c5_high_l_cum(i,1) = sum(Southeast_Asia_c5_high_l_sort(1:i,1)); Southeast_Asia_c5_low_h_cum(i,1) = sum(Southeast_Asia_c5_low_h_sort(1:i,1)); Southeast_Asia_c5_high_h_cum(i,1) = sum(Southeast_Asia_c5_high_h_sort(1:i,1)); Southeast_Asia_c6_low_l_cum(i,1) = sum(Southeast_Asia_c6_low_l_sort(1:i,1)); Southeast_Asia_c6_high_l_cum(i,1) = sum(Southeast_Asia_c6_high_l_sort(1:i,1)); Southeast_Asia_c6_low_h_cum(i,1) = sum(Southeast_Asia_c6_low_h_sort(1:i,1)); Southeast_Asia_c6_high_h_cum(i,1) = sum(Southeast_Asia_c6_high_h_sort(1:i,1)); Southeast_Asia_c7_low_l_cum(i,1) = sum(Southeast_Asia_c7_low_l_sort(1:i,1)); Southeast_Asia_c7_high_l_cum(i,1) = sum(Southeast_Asia_c7_high_l_sort(1:i,1)); Southeast_Asia_c7_low_h_cum(i,1) = sum(Southeast_Asia_c7_low_h_sort(1:i,1)); Southeast_Asia_c7_high_h_cum(i,1) = sum(Southeast_Asia_c7_high_h_sort(1:i,1)); Southeast_Asia_c89_low_l_cum(i,1) = sum(Southeast_Asia_c89_low_l_sort(1:i,1)); Southeast_Asia_c89_high_l_cum(i,1) = sum(Southeast_Asia_c89_high_l_sort(1:i,1)); Southeast_Asia_c89_low_h_cum(i,1) = sum(Southeast_Asia_c89_low_h_sort(1:i,1)); Southeast_Asia_c89_high_h_cum(i,1) = sum(Southeast_Asia_c89_high_h_sort(1:i,1)); Taiwan_c4_low_l_cum(i,1) = sum(Taiwan_c4_low_l_sort(1:i,1)); Taiwan_c4_high_l_cum(i,1) = sum(Taiwan_c4_high_l_sort(1:i,1)); Taiwan_c4_low_h_cum(i,1) = sum(Taiwan_c4_low_h_sort(1:i,1)); Taiwan_c4_high_h_cum(i,1) = sum(Taiwan_c4_high_h_sort(1:i,1)); Taiwan_c5_low_l_cum(i,1) = sum(Taiwan_c5_low_l_sort(1:i,1)); Taiwan_c5_high_l_cum(i,1) = sum(Taiwan_c5_high_l_sort(1:i,1)); Taiwan_c5_low_h_cum(i,1) = sum(Taiwan_c5_low_h_sort(1:i,1)); Taiwan_c5_high_h_cum(i,1) = sum(Taiwan_c5_high_h_sort(1:i,1)); Taiwan_c6_low_l_cum(i,1) = sum(Taiwan_c6_low_l_sort(1:i,1)); Taiwan_c6_high_l_cum(i,1) = sum(Taiwan_c6_high_l_sort(1:i,1)); Taiwan_c6_low_h_cum(i,1) = sum(Taiwan_c6_low_h_sort(1:i,1)); Taiwan_c6_high_h_cum(i,1) = sum(Taiwan_c6_high_h_sort(1:i,1)); Taiwan_c7_low_l_cum(i,1) = sum(Taiwan_c7_low_l_sort(1:i,1)); Taiwan_c7_high_l_cum(i,1) = sum(Taiwan_c7_high_l_sort(1:i,1)); Taiwan_c7_low_h_cum(i,1) = sum(Taiwan_c7_low_h_sort(1:i,1)); Taiwan_c7_high_h_cum(i,1) = sum(Taiwan_c7_high_h_sort(1:i,1)); Taiwan_c89_low_l_cum(i,1) = sum(Taiwan_c89_low_l_sort(1:i,1)); Taiwan_c89_high_l_cum(i,1) = sum(Taiwan_c89_high_l_sort(1:i,1)); Taiwan_c89_low_h_cum(i,1) = sum(Taiwan_c89_low_h_sort(1:i,1)); Taiwan_c89_high_h_cum(i,1) = sum(Taiwan_c89_high_h_sort(1:i,1)); Argentina_c4_low_l_cum(i,1) = sum(Argentina_c4_low_l_sort(1:i,1)); Argentina_c4_high_l_cum(i,1) = sum(Argentina_c4_high_l_sort(1:i,1)); Argentina_c4_low_h_cum(i,1) = sum(Argentina_c4_low_h_sort(1:i,1)); Argentina_c4_high_h_cum(i,1) = sum(Argentina_c4_high_h_sort(1:i,1)); Argentina_c5_low_l_cum(i,1) = sum(Argentina_c5_low_l_sort(1:i,1)); Argentina_c5_high_l_cum(i,1) = sum(Argentina_c5_high_l_sort(1:i,1)); Argentina_c5_low_h_cum(i,1) = sum(Argentina_c5_low_h_sort(1:i,1)); Argentina_c5_high_h_cum(i,1) = sum(Argentina_c5_high_h_sort(1:i,1)); Argentina_c6_low_l_cum(i,1) = sum(Argentina_c6_low_l_sort(1:i,1)); Argentina_c6_high_l_cum(i,1) = sum(Argentina_c6_high_l_sort(1:i,1)); Argentina_c6_low_h_cum(i,1) = sum(Argentina_c6_low_h_sort(1:i,1)); Argentina_c6_high_h_cum(i,1) = sum(Argentina_c6_high_h_sort(1:i,1)); Argentina_c7_low_l_cum(i,1) = sum(Argentina_c7_low_l_sort(1:i,1)); Argentina_c7_high_l_cum(i,1) = sum(Argentina_c7_high_l_sort(1:i,1)); Argentina_c7_low_h_cum(i,1) = sum(Argentina_c7_low_h_sort(1:i,1)); Argentina_c7_high_h_cum(i,1) = sum(Argentina_c7_high_h_sort(1:i,1)); Argentina_c89_low_l_cum(i,1) = sum(Argentina_c89_low_l_sort(1:i,1)); Argentina_c89_high_l_cum(i,1) = sum(Argentina_c89_high_l_sort(1:i,1)); Argentina_c89_low_h_cum(i,1) = sum(Argentina_c89_low_h_sort(1:i,1)); Argentina_c89_high_h_cum(i,1) = sum(Argentina_c89_high_h_sort(1:i,1)); Columbia_c4_low_l_cum(i,1) = sum(Columbia_c4_low_l_sort(1:i,1)); Columbia_c4_high_l_cum(i,1) = sum(Columbia_c4_high_l_sort(1:i,1)); Columbia_c4_low_h_cum(i,1) = sum(Columbia_c4_low_h_sort(1:i,1)); Columbia_c4_high_h_cum(i,1) = sum(Columbia_c4_high_h_sort(1:i,1)); Columbia_c5_low_l_cum(i,1) = sum(Columbia_c5_low_l_sort(1:i,1)); Columbia_c5_high_l_cum(i,1) = sum(Columbia_c5_high_l_sort(1:i,1)); Columbia_c5_low_h_cum(i,1) = sum(Columbia_c5_low_h_sort(1:i,1)); Columbia_c5_high_h_cum(i,1) = sum(Columbia_c5_high_h_sort(1:i,1)); Columbia_c6_low_l_cum(i,1) = sum(Columbia_c6_low_l_sort(1:i,1)); Columbia_c6_high_l_cum(i,1) = sum(Columbia_c6_high_l_sort(1:i,1)); Columbia_c6_low_h_cum(i,1) = sum(Columbia_c6_low_h_sort(1:i,1)); Columbia_c6_high_h_cum(i,1) = sum(Columbia_c6_high_h_sort(1:i,1)); Columbia_c7_low_l_cum(i,1) = sum(Columbia_c7_low_l_sort(1:i,1)); Columbia_c7_high_l_cum(i,1) = sum(Columbia_c7_high_l_sort(1:i,1)); Columbia_c7_low_h_cum(i,1) = sum(Columbia_c7_low_h_sort(1:i,1)); Columbia_c7_high_h_cum(i,1) = sum(Columbia_c7_high_h_sort(1:i,1)); Columbia_c89_low_l_cum(i,1) = sum(Columbia_c89_low_l_sort(1:i,1)); Columbia_c89_high_l_cum(i,1) = sum(Columbia_c89_high_l_sort(1:i,1)); Columbia_c89_low_h_cum(i,1) = sum(Columbia_c89_low_h_sort(1:i,1)); Columbia_c89_high_h_cum(i,1) = sum(Columbia_c89_high_h_sort(1:i,1)); end