home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / symbolic / 2984 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.6 KB  |  43 lines

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