Click on the drop down buttons and choose a value. In the example below the matrix will have 3 rows and 4 columns.