Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14715 > unrolled thread
| Started by | mathpavi <elvisgraceland@gmail.com> |
|---|---|
| First post | 2013-06-03 07:26 +0000 |
| Last post | 2013-06-11 06:24 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Output patterning mathpavi <elvisgraceland@gmail.com> - 2013-06-03 07:26 +0000
Re: Output patterning debguy <johnandsara2@cox.net> - 2013-06-11 06:24 +0000
| From | mathpavi <elvisgraceland@gmail.com> |
|---|---|
| Date | 2013-06-03 07:26 +0000 |
| Subject | Output patterning |
| Message-ID | <kohgef$ca2$1@smc.vnet.net> |
Hi
I have data in the form of two lists [list1 ={1,2,3......} and list2 = {10,20,30....}]. How can I export the same into a notepad wherein the first list appears in first column and the second, in another column which is tab separated from the first.
PS: I want the commas to be removed finally.Also I want the powers of 10 to be displayed as complete decimals, i.e., for example, I want 2*10-9 to be displayed as 0.000000002. Also how do I save it as 2E-9?
[toc] | [next] | [standalone]
| From | debguy <johnandsara2@cox.net> |
|---|---|
| Date | 2013-06-11 06:24 +0000 |
| Message-ID | <kp6fqm$ndc$1@smc.vnet.net> |
| In reply to | #14715 |
since this is an old post i'm guessing you already found the answers yourself. One can Transpose the arrays to go from row/col to col/row. The number form NumberFormat can do. For printing pretty, Print or Write can show these without commas or Export likely has an option for format. If you use unix a utility paste(1) is very useful in making tabulated files. But I'm guessing you read all that already.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web