Question: Matrix resize or reshape

 

Thanks for the orientation. I have read the help and attempted doing something.
The first thing that I am able to do, was this:
B := Matrix(17, 6)
BlockCopy(A, 0, 17, 17, 1, B, 0, 17, 17, 1);
print(`output redirected...`); # input placeholder
BlockCopy(A, 17, 17, 17, 1, B, 34, 17, 17, 1);
BlockCopy(A, 34, 17, 16, 1, B, 68, 17, 16, 1);
BlockCopy(A, 50, 17, 17, 1, B, 17, 17, 17, 1);
BlockCopy(A, 67, 17, 17, 1, B, 51, 17, 17, 1);
BlockCopy(A, 84, 17, 16, 1, B, 85, 17, 16, 1);
B;
But he seems very long to me. I have been trying with Copy. But all that I get is what I show.
C := Matrix(17, 6)
seq(Copy(ColumnDimension(A), A, i, RowDimension(A), C, i, 17), i = 0 .. 16);
C
 
"West Virginia"          0.7    0    0    0    0
"Maine"                     0.7    0    0    0    0
"Vermont"                 0.9    0    0    0    0
"North Dakota"         1.2    0    0    0    0
"Mississippi"              1.3    0    0    0    0
"South Dakota"          1.4    0    0    0    0
"Kentucky"                1.5    0    0    0    0
"Alabama"                 1.5    0    0    0    0
"New Hampshire"      1.7    0    0    0    0
"Ohio"                       1.9    0    0    0    0
"Tennessee"               2.0    0    0    0    0
"Montana"                 2.0    0    0    0    0
"Missouri"                  2.1    0    0    0    0
"South Carolina"        2.4    0    0    0    0
"Louisiana"                2.4    0    0    0    0
"Iowa"                       2.8    0    0    0    0
"Arkansas"                2.8    0    0    0    0

 

The matrix has following structure.
 
"West Virginia"          0.7    "Minnesota"             2.9    "Hawaii"               7.2
"Maine"                     0.7    "Pennsylvania"         3.2    "Idaho"                 7.9
"Vermont"                 0.9    "Michigan"               3.3    "Oregon"              8.0
"North Dakota"         1.2    "Indiana"                  3.5    "Rhode Island"      8.7
"Mississippi"              1.3    "Wisconsin"             3.6    "Utah"                  9.0
"South Dakota"          1.4    "Alaska"                  4.1    "Connecticut"        9.4
"Kentucky"                1.5    "Maryland"              4.3    "Illinois"                10.7
"Alabama"                 1.5    "Virginia"                 4.7    "New Jersey"        13.3
"New Hampshire"      1.7    "North Carolina"      4.7    "New York"         15.1
"Ohio"                       1.9    "Delaware"              4.8    "Florida"               16.8
"Tennessee"               2.0    "Oklahoma"             5.2    "Colorado"           17.1
"Montana"                 2.0    "Georgia"                 5.3    "Nevada"              19.7
"Missouri"                  2.1    "Nebraska"              5.5    "Arizona"              25.3
"South Carolina"        2.4    "Wyoming"              6.4    "Texas"                 32.0
"Louisiana"                2.4    "Massachusetts"       6.8    "California"           32.4
"Iowa"                       2.8    "Kansas"                 7.0    "New Mexico"      42.1
"Arkansas"                    2.8    "Washington"           7.2    0                          0
Data taken from:Moore D.S. The basic practice of statistics (2003)
 
 Any orientation, idea?
 
Please Wait...