Find the Dimensions [[1,2,3],[4,5,6],[3,1,2]]
Problem
Solution
Identify the number of rows in the matrix by counting the horizontal lines of elements.
Count the rows: the first row is
[1,2,3] the second row is[4,5,6] and the third row is[3,1,2] totaling 3 rows.Identify the number of columns in the matrix by counting the vertical lines of elements.
Count the columns: the first column is
[1,4,3]T the second column is[2,5,1]T and the third column is[3,6,2]T totaling 3 columns.State the dimensions in the format
m×n wherem is the number of rows andn is the number of columns.
Final Answer
Want more problems? Check here!