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.

カテゴリ

タグ

質問済み:

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