home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!caen!sol.ctr.columbia.edu!sol!chuck
- From: chuck@nimbus.drexel.edu (Wombozni Klik)
- Subject: Re: MAPLE: Reading list of points from external file
- In-Reply-To: joe@decoy.uoregon.edu's message of 16 Nov 1992 21:22:22 GMT
- References: <ROSE.92Nov10172623@t524i5.telematik.informatik.uni-karlsruhe.de>
- <1e93eeINNj59@pith.uoregon.edu>
- Sender: nobody@ctr.columbia.edu
- Organization: Drexel University Department of Physics
- Date: Tue, 17 Nov 1992 00:04:16 GMT
- Message-ID: <CHUCK.92Nov16190416@nimbus.drexel.edu>
- Distribution: sci.math.symbolic
- X-Posted-From: nimbus.physics.drexel.edu
- NNTP-Posting-Host: sol.ctr.columbia.edu
- Lines: 26
-
-
- We here at Drexel are trying to do the same thing, that is, read in a
- set of data points from an external file.
- Our idea (obviously not the best, but it could work) is to alter
- whatever program we're using to generate the data to write:
-
- x[1] := 3; y[1] := 10;
- x[2] := 4; y[2] := 31;
- ...
-
- In Maple, we can read in this file, which defines the arrays x and y.
- Granted, you have to know this beforehand that you're going to put the
- file in Maple - you may even want to write a little program in the
- language of choice to reformat your data to the above.
-
- Note: the file format is what would be produced with the 'save'
- command. By 'read'ing in the file, you let Maple know that it has
- data.
-
- Chuck
-
-
- --
- Chuck Browne | Frisbeetarianism: The belief that
- Drexel University Department of Physics | when you die, your soul goes up
- chuck@nimbus.physics.drexel.edu | on the roof and gets stuck.
-