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:

A=ATA = A^T

Note: A square matrix AA of size (n×n)(n \times n) is considered to be symmetric if and only if AT=AA^T = A.

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.