Transpose [[54,25,52],[56,54,24],[85,69,2]]
Problem
Solution
Identify the rows and columns of the given
3×3 matrix.Swap the elements such that the first row becomes the first column.
Swap the elements such that the second row becomes the second column.
Swap the elements such that the third row becomes the third column.
Construct the new matrix where the element at position
(i,j) is moved to position(j,i)
Final Answer
Want more problems? Check here!