function [ vystup ] = odstran_nuly(pole, nahrad)
%ODSTRAN_NULY Summary of this function goes here
%   Detailed explanation goes here

for i = 1:size(pole,1)
    for j = 1:size(pole,2)
        if pole(i,j) == 0
            A(i,j) = nahrad;
        else 
            A(i,j) = pole(i,j);
        end
    end
end

vystup = A;
end

