MathGroup Archive 2005

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

Search the Archive

Re: hwo to export data to file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59554] Re: hwo to export data to file
  • From: mike_in_england2000 at yahoo.co.uk
  • Date: Fri, 12 Aug 2005 00:08:12 -0400 (EDT)
  • References: <ddf67c$ost$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi

The following will export a file called test.dat to the directory
C:/data_dir/ in the format you asked for.

SetDirectory["C:/data_dir"];
data = {{1.3332, 2.5, 3.12, 5.5}, {2.5,
    7.8, 9.90, 2.47894}, {7.3444, 5.778, 2.11, 3}};
Export["test.dat", data, "Table"];

Hope this Helps
Mike


  • Prev by Date: Density plot
  • Next by Date: Re: Mathematical Modeling Problem II
  • Previous by thread: Re: Density plot
  • Next by thread: Re: hwo to export data to file