Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: ReadList of Complex Numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21575] Re: ReadList of Complex Numbers
  • From: Bojan Bistrovic <bojanb at physics.odu.edu>
  • Date: Sat, 15 Jan 2000 02:04:18 -0500 (EST)
  • Organization: Old Dominion Universityaruba
  • References: <85mmik$26i@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Srikanth Raghavan wrote:
> 
> Hello,
>         I have a data file of an array of complex numbers created by a
> Fortran program. I want Mathematica to read this data file as an array
> of complex numbers recognizing each row as a complex number. I have not
> been able to find any way of doing this. Could anyone help? Please reply
> to my e mail address in addition to posting the reply to this newsgroup
> if possible.
>         Thanks
>         Srikanth
> 
> ---------------------------------------------------------------------------
> 
> Srikanth Raghavan
> Rochester Theory Center for
> Optical Science and Engineering
> Dept. of Physics and Astronomy          email: srirag at pas.rochester.edu
> University of Rochester
> Rochester, NY 14627
> 
> ---------------------------------------------------------------------------
ReadList["filename",Complex[Real,Real]]
should do it.

Bye, Bojan

-- 
-------------------------------------------------------------
Bojan Bistrovic,                       bojanb at physics.odu.edu  
Old Dominion University, Physics Department,      Norfolk, VA
-------------------------------------------------------------


  • Prev by Date: Re: Simplify[] shortcoming
  • Next by Date: Re: Problem with Display and ImageSize
  • Previous by thread: ReadList of Complex Numbers
  • Next by thread: Re: ReadList of Complex Numbers