function kyDatWrite;

dataBlue = load('flopPhDat03_0b.m');
dataGreen = load('flopPhDat02_0b.m');
KdatBlue = dataBlue(:,1); ydatBlue = dataBlue(:,2);
KdatGreen = dataGreen(:,1); ydatGreen = dataGreen(:,2);

K = 1.76:0.005:2.15;
yBlue = interp1(KdatBlue,ydatBlue,K,'cubic');
yGreen = interp1(KdatGreen,ydatGreen,K,'cubic');

dlmwrite('flopKY.dat',[K' yBlue' yGreen'],' ');