Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "unfolding tensor"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:1+7 =



Original Message (ID '196624') By jf:
Flatten and maybe Transpose would do it. In[1]:= q = 0; In[2]:= m = Table[q++, {i, 2}, {j, 3}, {k, 2}] Out[2]= {{{0, 1}, {2, 3}, {4, 5}}, {{6, 7}, {8, 9}, {10, 11}}} In[3]:= Flatten[m, 1] Out[3]= {{0, 1}, {2, 3}, {4, 5}, {6, 7}, {8, 9}, {10, 11}}