Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Assign imported text to an integer array.' topicStudent Support Forum > General > "Assign imported text to an integer array."

Next Comment >Help | Reply To Topic
Author Comment/Response
Attjooo
04/18/13 3:04pm

I'm a real newbie to Mathematica.

With code Import["integers.txt"] my data looks like this:

2   1   3   1      
1   7   4 2
6   9   8   5

This is just a simple example. The real case contains more rows and columns.

I want to assign the text as values to the 3 * 4 array X of integer type.

How can I do that?

Thanks for any help.

URL: ,

Subject (listing for 'Assign imported text to an integer array.')
Author Date Posted
Assign imported text to an integer array. Attjooo 04/18/13 3:04pm
Re: Assign imported text to an integer array. Bill Simpson 04/18/13 9:15pm
Next Comment >Help | Reply To Topic