[Maxima] How can i export Data to Excel file?
robert.dodier at gmail.com
Mon May 21 20:58:01 CDT 2012
On 2012-05-21, Sara Pashmineh <sarapashm at googlemail.com> wrote:
> I tried to use the command: appendfile (filename) for exporting data
As it happens, appendfile creates a console log file (i.e. saving all
the input and output from your session) which is probably not what you
> Has anybody an idea, how I could export data from Maxima and import it
> in Excel, Matlab or another application tools?
Excel and other spreadsheet programs typically are able to read
comma-separated values, e.g.: 1, 2, 3, 4
The function in the numericalio package, write_data, can write data to a
file, separating the values by commas (or some other characters). E.g.
suppose you have created a matrix A containing your data.
for i thru m do for j thru n do A[i, j] : FOO (i, j);
where FOO is some complicated function. Then:
write_data (A, "my_output.data", 'comma);
Hope this helps,
More information about the Maxima