Filter löschen
Filter löschen

Transfer a diagonal matrix

1 Ansicht (letzte 30 Tage)
Tran Hoa
Tran Hoa am 3 Jul. 2019
Kommentiert: Tran Hoa am 3 Jul. 2019
Dear colleagues
How to tranfer matrix A to matrix B in matlab
Thank you
Kind regards
  1 Kommentar
KALYAN ACHARJYA
KALYAN ACHARJYA am 3 Jul. 2019
Not Transfer, it should be convert.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Guillaume
Guillaume am 3 Jul. 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)
  1 Kommentar
Tran Hoa
Tran Hoa am 3 Jul. 2019
It works. Thank you so much

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by