global Xs Ws MFsf_nega
global counter Cs S
global xxs xxl xxr a
global xxsm xxsl xxsr

global XS2 WS2 XXS2 XXL2 XXR2 XXSM2 XXSL2 XXSR2
global ling2_11 ling2_12 ling2_13 ling2_14
global ling2_21 ling2_22 ling2_23 ling2_24
global ling2_31 ling2_32 ling2_33 ling2_34
global ling2_41 ling2_42 ling2_43 ling2_44
global ling2_51 ling2_52 ling2_53 ling2_54
global ling2_61 ling2_62 ling2_63 ling2_64
global rank2_1 rank2_2 rank2_3 rank2_4 rank2_5
global cen2_1 cen2_2 cen2_3 cen2_4 cen2_5
global sim2_11 sim2_12 sim2_13 sim2_14 sim2_15
global sim2_21 sim2_22 sim2_23 sim2_24 sim2_25
global sim2_31 sim2_32 sim2_33 sim2_34 sim2_35
global sim2_41 sim2_42 sim2_43 sim2_44 sim2_45
global sim2_51 sim2_52 sim2_53 sim2_54 sim2_55


%% LINGUISTIC RATINGS AND WEIGHTS
XS2=[]; XS2=Xs;
WS2=[]; WS2=Ws;

ling2_11=get(handles.edit1_11, 'string');
ling2_12=get(handles.edit1_12, 'string');
ling2_13=get(handles.edit1_13, 'string');
ling2_14=get(handles.edit1_14, 'string');

ling2_21=get(handles.edit1_21, 'string');
ling2_22=get(handles.edit1_22, 'string');
ling2_23=get(handles.edit1_23, 'string');
ling2_24=get(handles.edit1_24, 'string');

ling2_31=get(handles.edit1_31, 'string');
ling2_32=get(handles.edit1_32, 'string');
ling2_33=get(handles.edit1_33, 'string');
ling2_34=get(handles.edit1_34, 'string');

ling2_41=get(handles.edit1_41, 'string');
ling2_42=get(handles.edit1_42, 'string');
ling2_43=get(handles.edit1_43, 'string');
ling2_44=get(handles.edit1_44, 'string');

ling2_51=get(handles.edit1_51, 'string');
ling2_52=get(handles.edit1_52, 'string');
ling2_53=get(handles.edit1_53, 'string');
ling2_54=get(handles.edit1_54, 'string');

ling2_61=get(handles.edit1_61, 'string');
ling2_62=get(handles.edit1_62, 'string');
ling2_63=get(handles.edit1_63, 'string');
ling2_64=get(handles.edit1_64, 'string');

rank2_1=get(handles.edit1_rank1, 'string');
rank2_2=get(handles.edit1_rank2, 'string');
rank2_3=get(handles.edit1_rank3, 'string'); 
rank2_4=get(handles.edit1_rank4, 'string'); 
rank2_5=get(handles.edit1_rank5, 'string');

cen2_1=str2num(get(handles.edit1_cen1, 'string'));
cen2_2=str2num(get(handles.edit1_cen2, 'string')); 
cen2_3=str2num(get(handles.edit1_cen3, 'string')); 
cen2_4=str2num(get(handles.edit1_cen4, 'string')); 
cen2_5=str2num(get(handles.edit1_cen5, 'string'));

sim1_11=str2num(get(handles.edit1_sim11, 'string'));
sim1_12=str2num(get(handles.edit1_sim12, 'string'));
sim1_13=str2num(get(handles.edit1_sim13, 'string')); 
sim1_14=str2num(get(handles.edit1_sim14, 'string'));
sim1_15=str2num(get(handles.edit1_sim15, 'string'));

sim1_21=str2num(get(handles.edit1_sim21, 'string'));
sim1_22=str2num(get(handles.edit1_sim22, 'string'));
sim1_23=str2num(get(handles.edit1_sim23, 'string')); 
sim1_24=str2num(get(handles.edit1_sim24, 'string'));
sim1_25=str2num(get(handles.edit1_sim25, 'string'));

sim1_31=str2num(get(handles.edit1_sim31, 'string'));
sim1_32=str2num(get(handles.edit1_sim32, 'string'));
sim1_33=str2num(get(handles.edit1_sim33, 'string')); 
sim1_34=str2num(get(handles.edit1_sim34, 'string'));
sim1_35=str2num(get(handles.edit1_sim35, 'string'));

sim1_41=str2num(get(handles.edit1_sim41, 'string'));
sim1_42=str2num(get(handles.edit1_sim42, 'string'));
sim1_43=str2num(get(handles.edit1_sim43, 'string')); 
sim1_44=str2num(get(handles.edit1_sim44, 'string'));
sim1_45=str2num(get(handles.edit1_sim45, 'string'));

sim1_51=str2num(get(handles.edit1_sim51, 'string'));
sim1_52=str2num(get(handles.edit1_sim52, 'string'));
sim1_53=str2num(get(handles.edit1_sim53, 'string')); 
sim1_54=str2num(get(handles.edit1_sim54, 'string'));
sim1_55=str2num(get(handles.edit1_sim55, 'string'));

%% TO PLOT THE RISK & RANK BAND
XXS1=[]; XXS1=xxs;
XXL1=[]; XXL1=xxl;
XXR1=[]; XXR1=xxr;

XXSM1=[]; XXSM1=xxsm;
XXSL1=[]; XXSL1=xxsl;
XXSR1=[]; XXSR1=xxsr;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% SECOND SET OF PARAM

%% LINGUISTIC RATINGS AND WEIGHTS
XS1=[]; XS1=Xs;
WS1=[]; WS1=Ws;

ling1_11=get(handles.edit1_11, 'string');
ling1_12=get(handles.edit1_12, 'string');
ling1_13=get(handles.edit1_13, 'string');
ling1_14=get(handles.edit1_14, 'string');

ling1_21=get(handles.edit1_21, 'string');
ling1_22=get(handles.edit1_22, 'string');
ling1_23=get(handles.edit1_23, 'string');
ling1_24=get(handles.edit1_24, 'string');

ling1_31=get(handles.edit1_31, 'string');
ling1_32=get(handles.edit1_32, 'string');
ling1_33=get(handles.edit1_33, 'string');
ling1_34=get(handles.edit1_34, 'string');

ling1_41=get(handles.edit1_41, 'string');
ling1_42=get(handles.edit1_42, 'string');
ling1_43=get(handles.edit1_43, 'string');
ling1_44=get(handles.edit1_44, 'string');

ling1_51=get(handles.edit1_51, 'string');
ling1_52=get(handles.edit1_52, 'string');
ling1_53=get(handles.edit1_53, 'string');
ling1_54=get(handles.edit1_54, 'string');

ling1_61=get(handles.edit1_61, 'string');
ling1_62=get(handles.edit1_62, 'string');
ling1_63=get(handles.edit1_63, 'string');
ling1_64=get(handles.edit1_64, 'string');

rank1_1=get(handles.edit1_rank1, 'string');
rank1_2=get(handles.edit1_rank2, 'string');
rank1_3=get(handles.edit1_rank3, 'string'); 
rank1_4=get(handles.edit1_rank4, 'string'); 
rank1_5=get(handles.edit1_rank5, 'string');

cen1_1=str2num(get(handles.edit1_cen1, 'string'));
cen1_2=str2num(get(handles.edit1_cen2, 'string')); 
cen1_3=str2num(get(handles.edit1_cen3, 'string')); 
cen1_4=str2num(get(handles.edit1_cen4, 'string')); 
cen1_5=str2num(get(handles.edit1_cen5, 'string'));

sim1_11=str2num(get(handles.edit1_sim11, 'string'));
sim1_12=str2num(get(handles.edit1_sim12, 'string'));
sim1_13=str2num(get(handles.edit1_sim13, 'string')); 
sim1_14=str2num(get(handles.edit1_sim14, 'string'));
sim1_15=str2num(get(handles.edit1_sim15, 'string'));

sim1_21=str2num(get(handles.edit1_sim21, 'string'));
sim1_22=str2num(get(handles.edit1_sim22, 'string'));
sim1_23=str2num(get(handles.edit1_sim23, 'string')); 
sim1_24=str2num(get(handles.edit1_sim24, 'string'));
sim1_25=str2num(get(handles.edit1_sim25, 'string'));

sim1_31=str2num(get(handles.edit1_sim31, 'string'));
sim1_32=str2num(get(handles.edit1_sim32, 'string'));
sim1_33=str2num(get(handles.edit1_sim33, 'string')); 
sim1_34=str2num(get(handles.edit1_sim34, 'string'));
sim1_35=str2num(get(handles.edit1_sim35, 'string'));

sim1_41=str2num(get(handles.edit1_sim41, 'string'));
sim1_42=str2num(get(handles.edit1_sim42, 'string'));
sim1_43=str2num(get(handles.edit1_sim43, 'string')); 
sim1_44=str2num(get(handles.edit1_sim44, 'string'));
sim1_45=str2num(get(handles.edit1_sim45, 'string'));

sim1_51=str2num(get(handles.edit1_sim51, 'string'));
sim1_52=str2num(get(handles.edit1_sim52, 'string'));
sim1_53=str2num(get(handles.edit1_sim53, 'string')); 
sim1_54=str2num(get(handles.edit1_sim54, 'string'));
sim1_55=str2num(get(handles.edit1_sim55, 'string'));

%% TO PLOT THE RISK & RANK BAND
XXS1=[]; XXS1=xxs;
XXL1=[]; XXL1=xxl;
XXR1=[]; XXR1=xxr;

XXSM1=[]; XXSM1=xxsm;
XXSL1=[]; XXSL1=xxsl;
XXSR1=[]; XXSR1=xxsr;
