File: readdata.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (24 lines) | stat: -rw-r--r-- 692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<HTML>
<HEAD>
<TITLE>Read data from files</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<p>
 Read numerical data from formatted text files.</P>
<P>
   read v.dat  (25 numbers in "E" notation)<br />
   read xy.dat (30 lines, each with an x and a y value)<br />
   read m.dat  (45 numbers, 5 per line)</P>
<P>
 <font color="blue"><pre>
 read v.dat v
 read xy.dat x y
 read\matrix m.dat m 5 9</pre></font></P>
<P>
 <a href="solvematrix.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Solve a matrix equation</font></a><br />
 <a href="fit.htm"><img src="../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">Fit a function</font></a></P>
</BODY>
</HTML>