How to get Ones along the diagonal
조회 수: 151(최근 30일)
표시 이전 댓글
I need a matrix of size 5x5 with ones along the diagonal and remaining values to be zero. How to get this.
댓글 수: 0
답변(1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!