Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Importing/Exporting three-dimensional arrays' topicStudent Support Forum > General > Archives > "Importing/Exporting three-dimensional arrays"

Help | Reply To Topic
Author Comment/Response
Kelly Aman
04/17/12 10:42pm

I have a list of matrices which took about 5 days of computation to generate, and I want to back it up in an external file that I can then import whenever I want to work with the data. The problem is, I don't know what format to use so that the imported file matches the exported one.

For example, my data is like this: list={{{1,2},{3,4}},{{5,6},{7,8}}}, so list[[1,2,1]]=3. Whenever I try exporting and importing I always wind up with some problem where the imported data are not actual numbers (mathematica says list[[1,2]]={3,4}, but list[[1,2,1]] is not a valid part), or extra commas are inserted or other problems.

URL: ,
Help | Reply To Topic