Partial differential matrix equations for the inverse problem of scattering theory