mat_inc = recepty();

suroviny=zeros(45,1);
suroviny([4,7,8,13,22,33])=[100 20 100 2 500 1]';
index = blizkost(suroviny,mat_inc)

suroviny=zeros(45,1);
suroviny([38,39,45])=[1 1 1]';
index = blizkost(suroviny,mat_inc)

suroviny=zeros(45,1);
suroviny([5,9,17,19,27,34,38])=[2 1 3 1 1 2 1]';
index = blizkost(suroviny,mat_inc)