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!