Posted By:
23 Jun, 2013 1:11 pm PDT

Arrays in C

How can you find whether a matrix is symmetric or not?

To find whether a matrix symmetric or not we can use the following code:






 Please see the video for more details

Was it useful?  

First we find transpose of a matrix and then compare it with the original matrix. For a symmetric matrix A^T = A.

  • Step 1 – Accepts a square matrix as input
  • Step 2 – Create a transpose of a matrix and store it in an array
  • Step 3 – Check if input matrix is equal to its transpose or not
    If it is equal, then the input square matrix is symmetric.

Please find the program attached to find the matrices symmetricity.


Attachment: symmetric.docx

Was it useful?  

Please login to reply to this problem.