i need help (matlab)
이전 댓글 표시
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
2020년 10월 28일
What have you tried for your home work?
답변 (1개)
KSSV
2020년 10월 28일
0 개 추천
Hint: Read about isequal.
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!