As Gibson himself said, the Matrix owed a lot more to Phillip K. Dick than to his sprawl trilogy.
...and as indicated by the presence of the comic on set while shooting the Matrix, and as said by Grant Morisson, the Matrix was largely derrivative of The Invisibles.