function porovnej(losses)
%losses=min(losses,10);
for i=1:size(losses,1)
    figure
    hist(min(losses(i,:),10),100);
AXIS([0 10 0 200]);
   TITLE([median(losses(i,:)) mean(losses(i,:))]) 
end
end