clc, close all;
for i = 1:length(AGL)
    i
    for j = 1:length(GGL)
        if (AGL{i,2} == GGL{j,2})&(AGL{i,3} == GGL{j,3}), 
            z{i,1} = AGL{i,1};
            z{i,2} = AGL{i,2};
            z{i,3} = AGL{i,3};
            break;
        end
    end
end

