function newCDs = filterCDs( CDs, attrib, value )
%  newCDs = filterCDs( CDs, attrib, value )
% get rid of all CDs with the attribute equalling the value
index = 1;
for CD = CDs
    if ~valueEq( CD.(attrib), value )
        newCDs(index) = CD;
        index = index + 1;
    end
end
if index == 1
    newCDs = [];
end
