How to get Ones along the diagonal
49 ビュー (過去 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 件)
参考
カテゴリ
Help Center および File Exchange で Operating on Diagonal Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!