In mathematics, a matrix is a rectangular array of numbers, symbols, or expressions, arranged in rows and columns. The individual items in a matrix are called its elements or entries. An example of a matrix with 2 rows and 3 columns is as follows:
Each element of a matrix is often denoted by a variable with two subscripts. For instance, a12 represents the element at the second row and first column of a matrix A.
img src: wikipedia