pltvarma Printings and graphs printsep

Grocer >> Printings and graphs > printmat

printmat

prints a matrix

CALLING SEQUENCE

printmat(mat,out)

PARAMETERS

Input

• mat = the matrix to print

• out = the symbolic name of the file where the results are printed

Output

• nothing: all results are printed on the specified file

DESCRIPTION

Prints a matrix with aligned columns.

EXAMPLE

x= grand(4,3,'nor',0,1)
labels=['date\variable'  'junk' 'variable' 'unknown']
mat2=[string(1:4)' string(x)]
printmat([labels ; mat2],%io(2))

AUTHOR

INRIA/Eric Dubois 2002
pltvarma Printings and graphs printsep