In mathematics, a matrix (plural: matrices) is a rectangle of numbers, arranged in rows and columns. The rows are each left-to-right (horizontal) lines, and the columns go top-to-bottom (vertical). The top-left cell is at row 1, column 1 "(see diagram at right)".