Challenge: Matrix Transposition
Solve this challenge on matrix transposition in R.
We'll cover the following
Exercise
A symmetrical matrix in linear algebra is defined as a square matrix equal to its transposed matrix. For example:
Note: A square matrix of size is considered to be symmetric if and only if .
Your challenge is to complete the function so that it can determine whether the matrices are symmetrical or not. Use the code editor below to implement your solution.
Get hands-on with 1400+ tech skills courses.