Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'write data to file in scientific form' topicStudent Support Forum > General > "write data to file in scientific form"

Next Comment >Help | Reply To Topic
Author Comment/Response
Neil
05/06/13 9:31pm

Is there a way to write an array of real data to a text file in scientific form?

I can get Export[] to do the writing, and I can also use ScientificForm[] to display the data in scientific form inside a Mathematica NoteBook; but when I combine the two, the data that is written to file is not in scientific form. This is what I used:

Export["mydata.txt", {ScientificForm[mydata, 6]}, "TABLE"];

I have attached the file that is created.

I would appreciate any tips on how to do this.

Neil


Attachment: mydata.txt, URL: ,

Subject (listing for 'write data to file in scientific form')
Author Date Posted
write data to file in scientific form Neil 05/06/13 9:31pm
Re: write data to file in scientific form Bill Simpson 05/17/13 00:14am
Next Comment >Help | Reply To Topic