these two matrices , A and B , Both have the same size in that each has 3 rows and 5 columns , but a matrix may have any numbers of rows,m, and columns, n. The matrices A and B are therefore 3x5 matrices; an nxn matrix is naturally called a squre matrix.