A symmetric matrix A is a square matrix that is equal to its transpose.
Note that only square matrices can be symmetric. Another condition is that A(i,j)=A(j,i) for all i and j.
Write a matlab function called testsym that returns, for an input matrix A, an output y = 1 if the matrix is symetric and 0 otherwise

댓글 수: 1

KSSV
KSSV 2020년 10월 28일
What have you tried for your home work?

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2020년 10월 28일

0 개 추천

Hint: Read about isequal.

카테고리

도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

2020년 10월 28일

답변:

2020년 10월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by