Column Major order matrix

5 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by