thank you for reading my question.
I have a problem trying to export mixed data from Mathematica. I have different matrices and vectors, which should be combined to a output file.
Here a minimal-working-example:
a = {{1}, {2}, {3}};
b = {{4}, {5}, {6}};
c = {7, 8, 9};
d = Transpose[{a, b, c}];
Export["test.txt", d, "TSV"]
The output file is:
{1} {4} 7
{2} {5} 8
{3} {6} 9
I would like to have the output like this, similar to "//TableForm":
1 4 7
2 5 8
3 6 9
Unfortunately I have no idea how I may achive this. Changing the format, e.g. to Table or CSV did not change anything. How may I export the data correctly?
Thank you in advance for answering my question.
d = Transpose[{Flatten@a, Flatten@b, c}];
? $\endgroup$