MathGroup Archive 2004

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

Search the Archive

using file txt in mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49414] using file txt in mathematica
  • From: "paolo " <tarpanelli at libero.it>
  • Date: Sun, 18 Jul 2004 08:09:23 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

If I save an output from a module in a txt file, how can i use it again in one other module?
For example:

The output from my module is

a = {1,2,3,4}{5,6,7,8}{9,10,11,12}{13,14,15,16}

save this output is a .txt file format

TextForm @ TableForm[a] >> "a.txt"

then load the file txt 

!! a.txt

but how can I use, in one other module, the single elements of matrix "a" that I saved in the file .txt?? for example how can i do this:

a[[1]][[3]] * y ???????

Thanks and regards

Paolo


  • Prev by Date: FindRoot s all
  • Next by Date: Re: Tr vs Total
  • Previous by thread: Re: FindRoot s all
  • Next by thread: Re: using file txt in mathematica