Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10789
| From | Dominik Hezel <sendme2000@me.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: how to export to Excel in Mathematica from a Parametricplot command |
| Date | 2012-07-04 07:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jt0rs3$1ho$1@smc.vnet.net> (permalink) |
| References | <jstl0d$k81$1@smc.vnet.net> |
You'll probably get some more elegant solutions, but this works:
NDSolve[{y'[t] == y[t] (x[t] - 1), x'[t] == x[t] (2 - y[t]),
x[0] == 1, y[0] == 2.7}, {x, y}, {t, 0, 10}]
ParametricPlot[Evaluate[{x[t], y[t]} /. First[%]], {t, 0, 10}]
exp = Evaluate[{x[t], y[t]} /. First[%]];
exp2 = exp[[1, 3, 2, 2, 1]];
Export["Desktop/exp.xls", exp2]
You might want to transpose it before export.
.Dominik
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to export to Excel in Mathematica from a Parametricplot command mrafiee20@gmail.com - 2012-07-03 02:22 +0000 Re: how to export to Excel in Mathematica from a Parametricplot command "Alexey Popkov" <lehin.p@gmail.com> - 2012-07-04 07:36 +0000 Re: how to export to Excel in Mathematica from a Parametricplot command Dominik Hezel <sendme2000@me.com> - 2012-07-04 07:37 +0000 Re: how to export to Excel in Mathematica from a Parametricplot command "Alexey Popkov" <lehin.p@gmail.com> - 2012-07-05 18:52 +0000 Re: how to export to Excel in Mathematica from a Parametricplot command Dominik Hezel <sendme2000@me.com> - 2012-07-05 18:53 +0000
csiph-web