MathGroup Archive 2004

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

Search the Archive

Re: Export to file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50927] Re: Export to file
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 28 Sep 2004 00:58:39 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <cj865u$75a$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

and

data = Table[{Random[], Random[], Random[]}, {5}];
Export["tmp.txt", data, "Table"];
!! tmp.txt


does not help ??

Regards
  Jens

CYSTERNA++ wrote:
> 
> I have parametric function sX[i], sY[i], sZ[i] and I want to export
> coordinate of points to file.
> For each "i" from "0" to "100" I calculate coordinates and print to file.
> (see below)
> 
> For[i = 0. i < 100 , i += 1,
>       PutAppend[
>         StringJoin[
>            ToString[sX[i]],
>            " ",
>            ToString[sY[i]],
>            " ",
>            ToString[sZ[i]]],
>            "C:/MyPoints.txt"]
>     ]
> 
> I have BIG problem, because of format of these numbers (coordinates)
> My file looks like as follow :
> 
> "18.4568 44.6881 -2.47084"
> "19.8777 40.9391 1.23937"
> .......................................
> ......................................
> 
> but I need other format (whithout quotation marks) like below
> 
> 18.4568 44.6881 -2.47084
> 19.8777 40.9391 1.23937
> .......................................
> ......................................
> 
> How can I do this in Mathematica 4.0.
> Please Help me.
> 
> Thank You for Your ansswers.
> 
> --
> Best Regards
> 
> CYSTERNA++ (POLAND)


  • Prev by Date: Re: FindRoot for an oscillating function
  • Next by Date: Re: problem with very slow matrix function
  • Previous by thread: Re: Export to file
  • Next by thread: Re: Export to file