Transfer a diagonal matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Tran Hoa
el 3 de Jul. de 2019
Comentada: Tran Hoa
el 3 de Jul. de 2019
![](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
1 comentario
Respuesta aceptada
Guillaume
el 3 de Jul. de 2019
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)
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!