Switch signs to positive in the diagonal of a matrix
6 ビュー (過去 30 日間)
古いコメントを表示
Hi
So I have an already existing 6x6 matrix, but I would like to make sure that the diagonals are all positive.
Thus, how do I transform/replace the diagonal of my matrix to be all positive?
I have tried to seach for, how to replace the diagonal with a vector, but without luck.
If I could replace the original diagonal with the absolute diagonal, this would also do it.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
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!