I am trying to import a data set to Mathematica. The problem is that I cannot have the imported data as regular numbers in Mathematica. They are imported as "list". So, I cannot use them in the equations I need:
Import["out.dat", "Data"]
{{5.7, 4.3}, {-1.2, 7.8}}
Array[cc, {2, 2}]
For[i = 1, i <= 2, i++,
For[j = 1, j <= 2, j++,
cc[i, j] = Take[Import["out.dat", {"Data", i}], {j, j}]]]
Now, I need c[1,1]
to be 5.7
but it is {5.7}
as you see:
cc[1, 1]
{5.7}