HDMI Matrix

What is a matrix? What scene is the matrix used for? How can I choose a suitable matrix?