Effacer les filtres
Effacer les filtres

Transfer a diagonal matrix

3 vues (au cours des 30 derniers jours)
Tran Hoa
Tran Hoa le 3 Juil 2019
Commenté : Tran Hoa le 3 Juil 2019
Dear colleagues
How to tranfer matrix A to matrix B in matlab
Thank you
Kind regards
  1 commentaire
KALYAN ACHARJYA
KALYAN ACHARJYA le 3 Juil 2019
Not Transfer, it should be convert.

Connectez-vous pour commenter.

Réponse acceptée

Guillaume
Guillaume le 3 Juil 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 commentaire
Tran Hoa
Tran Hoa le 3 Juil 2019
It works. Thank you so much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by