function x = diavasma1(dimension) x = zeros(dimension); for i = 1:dimension for j = 1:dimension if i == j x(i,j) = 1; end end end end

function x = diavasma1(dimension) x = zeros(dimension); for i = 1:dimension for j = 1:dimension if i == j x(i,j) = 1; end end end end

Posted in Uncategorized