We generate a matrix like this
for i = 1:5
for j = 1:5
for k = 1:5
d[i, j, k] = rand(1)
end
end
end
Is there an easy way to save matrix d
somewhere and later on just call it and use it?
With
CSV.write("path/file_name.csv", Tables.table(d), header=false)
I can do it very easily for 2D matrix but I’m not sure if and how it works for a 3D matrix.