File: fprintfMat.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (31 lines) | stat: -rw-r--r-- 676 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
25
26
27
28
29
30
31
.TH fprintfMat 1 "Aug 1999" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
fprintfMat - print a matrix in a file.
.SH CALLING SEQUENCE
.nf
fprintfMat(fil,M,format)
.fi
.SH PARAMETERS
.TP 10
fil : a string, path of the file
.TP 
format
: a character string, a C like format.
.TP 
M
: A matrix of real numbers.
.SH DESCRIPTION

The fprintfMat function prints a matrix in a formated file. Each row
of the matrix give a line in the file.
.SH EXAMPLE
.nf
n=50;
a=rand(n,n,'u');
fprintfMat(TMPDIR+'/Mat',a,'%5.2f');
a1=fscanfMat(TMPDIR+'/Mat');
.fi
.SH SEE ALSO
mclose, meof, mfprintf, mfscanf, fscanfMat, mget,
mgetstr, mopen, mprintf, mput, mputstr, mscanf, mseek, mtell