Column Major order matrix

11 Ansichten (letzte 30 Tage)
Basem Sharafeldin
Basem Sharafeldin am 16 Okt. 2015
Beantwortet: Walter Roberson am 16 Okt. 2015
im trying to create an 11x11 matrix using the number 1-121 in row AND column major order. I'm trying to use the zeros and ones command also transpose and similar like commands. Any suggestions/solutions. BTW I tried using another variable to associate it with the command.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 16 Okt. 2015
If you can solve one of the two then you can transpose() it to get the other.
Hint: reshape.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices 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