function f = delete_from_list(list, index_list)

list_size = size(list);

%all_index = 1:list_size(1);

all_index=ones(1,list_size(1));
%for m = 1:list_size(1)
%    all_index=[all_index,true];
%end

for m = 1:length(index_list)
   all_index(index_list(m))=0;
end

f=list(logical(all_index),:);
end