Column Major order matrix

조회 수: 12 (최근 30일)
Basem Sharafeldin
Basem Sharafeldin 2015년 10월 16일
답변: Walter Roberson 2015년 10월 16일
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