for i=1:3
    for j=1:3
        if A(i>j)
            A(i,j)=0
        end
    end
end