I'm trying to import many files which have the same name "x.data", but they end with a extension "x_code1.data".
I was trying to import all files with the routine:
Importdata1 =
Import["x_code1.dat", "Table"];
But I want to have an array with all the codes, something similar to:
For i = {1,4,7,10}
Importalldata[i] =
Import["x_code[i].dat", "Table"];
How can I achieve this?
Thank you so much
Import[#, "Table"] & /@ Table["xcode" <> IntegerString[i, 10] <> ".data", {i, 1, 10}]
$\endgroup$