In a matrix, the elements are arranged in a rectangular array. The horizontal arrangements of the number are called rows and the vertical arrangement is called the column.