.BG M
.VE $Header: /usr3/s/current/s/data/.help/RCS/matedit,v 1.2 83/12/30 23:09:25 rab Exp $
.FN matedit
.TL
?matedit: Text Editing of Matrices
.CS
?matedit(x)
.PP
.AG x
matrix.
.PP
The `?matedit' macro writes the matrix `x' to a file and then invokes
a text editor on that file.
After modifying the file with the editor, write the modified file
and then quit the editor.
The modified file will be read back in as a matrix and will be assigned the name
`x' on the working database.
.PP
The number of columns of the matrix cannot be changed during editing.
.PP
The text editor is `ed' by default, but can be specified by means of the
shell variable EDITOR.
To use the `vi' screen editor, execute the following shell commands 
.CS
EDITOR=vi
export EDITOR
.ft 1
prior to invoking S.
.EX
?matedit(mymatrix)	# edit dataset named mymatrix
1,$s/999/NA/
w
q
# mymatrix changed
.KW manip
.WR
