File: BasicTasksS10.htm

package info (click to toggle)
extrema 4.4.4.dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 19,416 kB
  • ctags: 6,689
  • sloc: cpp: 88,991; sh: 8,229; makefile: 480
file content (24 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (2)
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="BasicTasksS09.htm"><img src="../shadow_left.gif">&nbsp;
    <font size="+1" color="olive">Solve a matrix equation</font></a><br />
  <a href="BasicTasksS11.htm"><img src="../shadow_right.gif">&nbsp;
    <font size="+1" color="olive">Fit a function</font></a></P>
</BODY>
</HTML>