A nonlinear matrix equation connected to interpolation theory