Menu

[Solved]Write Ctt Code Check Matrix Symmetric Return Value Boolean Function Values Matrix User S I Q37244616

write ctt code to check if a matrix is symmetric. Return Value should be Boolean for your Function. Values of the matrix shouwrite ctt code to check if a matrix is symmetric. Return Value should be Boolean for your Function. Values of the matrix should be user’s Input. A square matrix is said to be symmetric matrix if the transpose of the matrix is same as the given matrix. Symmetric matrix can be obtain by changing row to column and column to row Input : 1 2 3 2 1 4 3 4 3 Transpose of the Above matirx:- 1 2 3 2 1 4 3 4 3 As the Input matrix and it’s transpose are the same, Hence it is symmetric matrix. Output : Yes Input : 1 2 3 Transpose of the Above matirx:- 4 5 6 7 8 9 1 4 7 2 5 8 3 6 9 As the Input matrix and it’s transpose are not the same , Hence it is not Symmetric matrix. output i No Show transcribed image text write ctt code to check if a matrix is symmetric. Return Value should be Boolean for your Function. Values of the matrix should be user’s Input. A square matrix is said to be symmetric matrix if the transpose of the matrix is same as the given matrix. Symmetric matrix can be obtain by changing row to column and column to row Input : 1 2 3 2 1 4 3 4 3 Transpose of the Above matirx:- 1 2 3 2 1 4 3 4 3 As the Input matrix and it’s transpose are the same, Hence it is symmetric matrix. Output : Yes Input : 1 2 3 Transpose of the Above matirx:- 4 5 6 7 8 9 1 4 7 2 5 8 3 6 9 As the Input matrix and it’s transpose are not the same , Hence it is not Symmetric matrix. output i No

Expert Answer


Answer to write ctt code to check if a matrix is symmetric. Return Value should be Boolean for your Function. Values of the matrix… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *