0
$\begingroup$

So I have a large txt file with such contents (like 20mbs long)

20 30 40 550 60 70 80 91 20 30 40 50 60 70 80 92 20 30 40 50 60 70 80 93 20 30 40 50 64 70 80 90 20 30 40 50 60 70 80 90 20 30 40 50 60 70 80 90 20 30 40 40 60 70 80 90 40 30 40 50 60 70 80 90  4 5 6 6  20 30 40 50 60 70 80 91 20 30 40 50 60 70 80 92 20 30 40 50 60 70 80 93 2 30 40 50 64 70 80 90 20 30 20 50 60 70 80 90 20 30 40 50 60 70 80 90 20 30 40 40 60 70 80 90 40 30 40 50 60 70 80 90  4 5 1 6  20 30 40 50 60 70 80 91 20 30 40 50 60 70 80 92 20 30 40 50 60 70 80 93 20 30 40 50 64 70 80 90 20 30 40 50 60 70 80 90 20 30 40 50 60 70 80 90 20 1 40 40 60 70 80 90 40 30 40 50 60 70 80 90  4 5 6 1 

I want to get out of that document an array of matrices 8x8 and an array of matrices 1*4 is such thing possible and how to do it?

I need such thing to get data to train NN.

  • 0
    Asked and answered http://stackoverflow.com/questions/4860270/maple-how-to-parse-such-csv-comma-separated-values-document2011-02-02

1 Answers 1

0

Your problem is rather a technical one than a mathematical one. However this link should help you: Statistics with Maple

And this is the Maple Helpfile for the "ImportData" function. However, Maple is not as powerful as Mathematica or Matlab concerning external data and you might have to preprocess the data to a form which allows Maple to handle it correctly.

Also I agree that you should rather ask on a programming platform.