Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to export values of an expression as data file?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93563] Re: How to export values of an expression as data file?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 14 Nov 2008 06:36:20 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <gfimkb$g2e$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

data = Table[RandomReal[], {10}, {2}];

Export["c:/temp/test.txt", data, "Table"]

??

Regards
   Jens


Suman Chakrabarty wrote:
> Dear all,
> 
> I am new to Mathematica. I am looking for a way to export the values
> of an evaluated expression (which I can plot in Mathematica
> successfully) in the form of an ASCII data file. The output should be
> a two column (X, Y) data, which I can plot later using Xmgrace.
> 
> The expression is actually an evaluation of the solution of a system
> of equations within certain range, say {x, 0, 10}. Now the discrete
> numerical values at certain intervals, say every 0.1 should be
> exported as the data file as a function of x.
> 
> Please help.
> 
> 
> Regards,
> Suman Chakrabarty.
> 
> 


  • Prev by Date: Re: Stacked Definitions
  • Next by Date: RE: right hand side
  • Previous by thread: Re: How to export values of an expression as data file?
  • Next by thread: prolate spheroidal coordinates - alternative form