If your data looks like this
1 2
3 4
5 6
I suggest you use a text editor and change it to
data: [
1, 2,
3, 4,
5, 6]$
then use batch("datafile")
In maxima, do something to assign values from data[i] to a[*,*] and b[*,*]
If your text editor does not provide tools to remove excess white spaces
and insert
commas instead, then you should consider learning another editor. :)
RJF
Poul Riis wrote:
>I have four coloumns of data in a file. How can I read these data into two
>arrays A[2,n] and B[2,n]?
>I have looked in the manual but couldn't find anything that could solve my
>problem.
>
>Yours,
>Poul Riis
>
>_______________________________________________
>Maxima mailing list
>Maxima@www.math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima
>
>