newWaves=[newWaves1 newWaves2 newWaves3];
oldWaves=[oldWaves1 oldWaves2 oldWaves3];
Vmaxs=[Vmaxs1; Vmaxs2; Vmaxs3];
imaxs=[imaxs1; imaxs2; imaxs3];
DBLbadwaves=[DBLbadwaves1 DBLbadwaves2 DBLbadwaves3];
DHwaves=[DHwaves1 DHwaves2 DHwaves3];
RTFWHMbadwaves=[RTFWHMbadwaves1 RTFWHMbadwaves2 RTFWHMbadwaves3];
amplifications=[amplifications1; amplifications2; amplifications3];
rawevstatsL2=rawevstatsL21 + rawevstatsL22 + rawevstatsL23;
flattops=[flattops1 flattops2 flattops3];

clear newWaves1 newWaves2 newWaves3 oldWaves1 oldWaves2 oldWaves3 Vmaxs1 Vmaxs2 Vmaxs3 imaxs1 imaxs2 imaxs3 DBLbadwaves1 DBLbadwaves2 DBLbadwaves3
clear DHwaves1 DHwaves2 DHwaves3 RTFWHMbadwaves1 RTFWHMbadwaves2 RTFWHMbadwaves3 amplifications1 amplifications2 amplifications3
clear rawevstatsL21 rawevstatsL22 rawevstatsL23 flattops1 flattops2 flattops3

% newWaves=[newWaves1 newWaves2 ];
% oldWaves=[oldWaves1 oldWaves2 ];
% Vmaxs=[Vmaxs1; Vmaxs2 ];
% imaxs=[imaxs1; imaxs2 ];
% DBLbadwaves=[DBLbadwaves1 DBLbadwaves2 ];
% DHwaves=[DHwaves1 DHwaves2 ];
% RTFWHMbadwaves=[RTFWHMbadwaves1 RTFWHMbadwaves2 ];
% amplifications=[amplifications1; amplifications2];
% rawevstatsL2=rawevstatsL21 + rawevstatsL22 ;
% flattops=[flattops1 flattops2 ];
% 
% clear newWaves1 newWaves2 newWaves3 oldWaves1 oldWaves2 oldWaves3 Vmaxs1 Vmaxs2 Vmaxs3 imaxs1 imaxs2 imaxs3 DBLbadwaves1 DBLbadwaves2 DBLbadwaves3
% clear DHwaves1 DHwaves2 DHwaves3 RTFWHMbadwaves1 RTFWHMbadwaves2 RTFWHMbadwaves3 amplifications1 amplifications2 amplifications3
% clear rawevstatsL21 rawevstatsL22 rawevstatsL23 flattops1 flattops2 flattops3
% 
% newWaves=[newWaves1 newWaves2 newWaves3 newWaves4];
% oldWaves=[oldWaves1 oldWaves2 oldWaves3 oldWaves4];
% Vmaxs=[Vmaxs1; Vmaxs2; Vmaxs3; Vmaxs4];
% imaxs=[imaxs1; imaxs2; imaxs3; imaxs4];
% DBLbadwaves=[DBLbadwaves1 DBLbadwaves2 DBLbadwaves3 DBLbadwaves4];
% DHwaves=[DHwaves1 DHwaves2 DHwaves3 DHwaves4];
% RTFWHMbadwaves=[RTFWHMbadwaves1 RTFWHMbadwaves2 RTFWHMbadwaves3 RTFWHMbadwaves4];
% amplifications=[amplifications1; amplifications2; amplifications3; amplifications4];
% rawevstatsL2=rawevstatsL21 + rawevstatsL22 + rawevstatsL23 + rawevstatsL24;
% flattops=[flattops1 flattops2 flattops3 flattops4];
% 
% clear newWaves1 newWaves2 newWaves3 oldWaves1 oldWaves2 oldWaves3 Vmaxs1 Vmaxs2 Vmaxs3 imaxs1 imaxs2 imaxs3 DBLbadwaves1 DBLbadwaves2 DBLbadwaves3
% clear DHwaves1 DHwaves2 DHwaves3 RTFWHMbadwaves1 RTFWHMbadwaves2 RTFWHMbadwaves3 amplifications1 amplifications2 amplifications3
% clear rawevstatsL21 rawevstatsL22 rawevstatsL23 flattops1 flattops2 flattops3 newWaves4 oldWaves4 Vmaxs4 imaxs4 DBLbadwaves4 DHwaves4 RTFWHMbadwaves4
% clear amplifications4 rawevstatsL24 flattops4

% newWaves=[newWaves1 newWaves2 newWaves3 newWaves4 newWaves5];
% oldWaves=[oldWaves1 oldWaves2 oldWaves3 oldWaves4 oldWaves5];
% Vmaxs=[Vmaxs1; Vmaxs2; Vmaxs3; Vmaxs4; Vmaxs5];
% imaxs=[imaxs1; imaxs2; imaxs3; imaxs4; imaxs5];
% DBLbadwaves=[DBLbadwaves1 DBLbadwaves2 DBLbadwaves3 DBLbadwaves4 DBLbadwaves5];
% DHwaves=[DHwaves1 DHwaves2 DHwaves3 DHwaves4 DHwaves5];
% RTFWHMbadwaves=[RTFWHMbadwaves1 RTFWHMbadwaves2 RTFWHMbadwaves3 RTFWHMbadwaves4 RTFWHMbadwaves5];
% amplifications=[amplifications1; amplifications2; amplifications3; amplifications4; amplifications5];
% rawevstatsL2=rawevstatsL21 + rawevstatsL22 + rawevstatsL23 + rawevstatsL24 + rawevstatsL25;
% flattops=[flattops1 flattops2 flattops3 flattops4 flattops5];
% 
% clear newWaves1 newWaves2 newWaves3 oldWaves1 oldWaves2 oldWaves3 Vmaxs1 Vmaxs2 Vmaxs3 imaxs1 imaxs2 imaxs3 DBLbadwaves1 DBLbadwaves2 DBLbadwaves3
% clear DHwaves1 DHwaves2 DHwaves3 RTFWHMbadwaves1 RTFWHMbadwaves2 RTFWHMbadwaves3 amplifications1 amplifications2 amplifications3
% clear rawevstatsL21 rawevstatsL22 rawevstatsL23 flattops1 flattops2 flattops3 newWaves4 oldWaves4 Vmaxs4 imaxs4 DBLbadwaves4 DHwaves4 RTFWHMbadwaves4
% clear amplifications4 rawevstatsL24 flattops4 newWaves5 oldWaves5 Vmaxs5 imaxs5 DBLbadwaves5 DHwaves5 RTFWHMbadwaves5 amplifications5 rawevstatsL25 flattops5
