Transfer a diagonal matrix
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227278/image.png)
How to tranfer matrix A to matrix B in matlab
Thank you
Kind regards
採用された回答
Guillaume
2019 年 7 月 3 日
Please, don't post screenshot for something as simple as a matrix. Use text, so we can copy/paste it into matlab.
A = diag(1:3); %example data
B = rot90(A, 2)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!