cd('C:\Users\mingfaifong\Documents\2013-03-12_CNQX-stim1x-vehicle_patch-analysis\ctrl\');
load('juju1_alldata.mat'); dat(:,2) = repmat({'juju'},[length(dat),1]);
ctrl = dat;
load('trouble1_alldata.mat'); dat(:,2) = repmat({'trouble'},[length(dat),1]);
ctrl = [ctrl; dat];
load('usain2_alldata.mat'); dat(:,2) = repmat({'usain'},[length(dat),1]);
ctrl = [ctrl; dat];
load('wingnut1_alldata.mat'); dat(:,2) = repmat({'wingnut'},[length(dat),1]);
ctrl = [ctrl; dat];
load('xinhai1_alldata.mat'); dat(:,2) = repmat({'xinhai'},[length(dat),1]);
ctrl = [ctrl; dat];

cd('C:\Users\mingfaifong\Documents\2013-03-12_CNQX-stim1x-vehicle_patch-analysis\CNQX\');
load('jujuI5372_alldata.mat'); dat(:,2) = repmat({'juju'},[length(dat),1]);
CNQX = dat;
load('trouble22467_alldata.mat'); dat(:,2) = repmat({'trouble'},[length(dat),1]);
CNQX = [CNQX; dat];
load('usain22493_alldata.mat'); dat(:,2) = repmat({'usain'},[length(dat),1]);
CNQX = [CNQX; dat];
load('wingnut22468_alldata.mat'); dat(:,2) = repmat({'wingnut'},[length(dat),1]);
CNQX = [CNQX; dat];
load('xinhai22493_alldata.mat'); dat(:,2) = repmat({'xinhai'},[length(dat),1]);
CNQX = [CNQX; dat];

cd('C:\Users\mingfaifong\Documents\2013-03-12_CNQX-stim1x-vehicle_patch-analysis\CNQX-stim1x\');
load('jujuI5388_alldata.mat'); dat(:,2) = repmat({'juju'},[length(dat),1]);
CNQXstim1x = dat;
load('trouble22468_alldata.mat'); dat(:,2) = repmat({'trouble'},[length(dat),1]);
CNQXstim1x = [CNQXstim1x; dat];
load('usain22471_alldata.mat'); dat(:,2) = repmat({'usain'},[length(dat),1]);
CNQXstim1x = [CNQXstim1x; dat];
load('wingnut21332_alldata.mat'); dat(:,2) = repmat({'wingnut'},[length(dat),1]);
CNQXstim1x = [CNQXstim1x; dat];
load('xinhai22471_alldata.mat'); dat(:,2) = repmat({'xinhai'},[length(dat),1]);
CNQXstim1x = [CNQXstim1x; dat];


cd('C:\Users\mingfaifong\Documents\2013-03-12_CNQX-stim1x-vehicle_patch-analysis\');
save ctrl_CNQX_CNQXstim1x_cellsByTreatment ctrl CNQX CNQXstim1x