  Following and generalizing a construction by Kontsevich, we associate a zeta
function to any matrix with entries in a ring of noncommutative Laurent
polynomials with integer coefficients. We show that such a zeta function is an
algebraic function.
