Create a row vector of the diagonal elements from matrix.
23 ビュー (過去 30 日間)
古いコメントを表示
So I am knew to MATLAB and have a question reguarding matricies.
I'm wondeirng how to create a row vector from the diagonal values (Top left to bottom right) from a matrix (I'm using a 6x6 matrix).
Any advice would be much appreaciated.
Thanks,
Ben.
1 件のコメント
採用された回答
Star Strider
2020 年 10 月 17 日
2 件のコメント
Star Strider
2020 年 10 月 17 日
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
その他の回答 (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!