Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Import/Export Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90487] Import/Export Problem
  • From: "Kevin J. McCann" <Kevin.McCann at umbc.edu>
  • Date: Thu, 10 Jul 2008 07:07:29 -0400 (EDT)
  • Organization: University System of Maryland

I have computed a vector function {Bx,By,Bz} as a function of {x,y,z}. 
For example, here is the first element in the collection:

{{-2.95,-1.99},{1.16284,-0.156402,0.702541}}

I export it:

Export["btbl2.dat", btbl2]

(the variable is btbl2.)

And then Import it as btbl3:

btbl3=Import["btbl2.dat"];

Here is what the first element, btbl3[[1]] looks like:

{{-2.95,,-1.99},{1.1628413272120999,,-0.15640196465950917,,0.7025406185687192}}

Note the double commas!

Che pasa?

Kevin


  • Prev by Date: Re: VectorFieldPlot scaling
  • Next by Date: Re: Display[ ] renewed?
  • Previous by thread: Re: Problem parsing date formats using Import
  • Next by thread: Re: Import/Export Problem