Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "List manipulation"

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:2+2 =



Original Message (ID '196629') By jf:
Thread or MapThread. In[5]:= l1={{2011,11,16},{2011,11,17},{2011,11,18},{2011,11,21}} ; l2={{8.98,8.98,8.75,8.9},{8.8,9.45,8.8,9.24},{9.17,10.07,9.16,10.05},{9.9,10.25,9.79,10.04}}; In[6]:= Thread[List[l1,l2]] Out[6]= {{{2011,11,16},{8.98,8.98,8.75,8.9}}, {{2011,11,17},{8.8,9.45,8.8,9.24}}, {{2011,11,18},{9.17,10.07,9.16,10.05}}, {{2011,11,21},{9.9,10.25,9.79,10.04}}}