Azzera filtri
Azzera filtri

Transfer a diagonal matrix

1 visualizzazione (ultimi 30 giorni)
Tran Hoa
Tran Hoa il 3 Lug 2019
Commentato: Tran Hoa il 3 Lug 2019
Dear colleagues
How to tranfer matrix A to matrix B in matlab
Thank you
Kind regards

Risposta accettata

Guillaume
Guillaume il 3 Lug 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)

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by