Matrix , a set of numbers arranged in rows and columns so as to form a rectangular array . The numbers are called the elements, or entries, of the matrix. Matrices have wide applications in engineering , physics , economics , and statistics as well as in various branches of mathematics . Matrices also have important applications in computer graphics , where they have been used to represent rotations and other transformations of images.