User guide
willsetthe2,4elementoftheexistingmatrixyto3.Thisstatementisillegalifydoes
nothaveatleast2rowsand4columns.
Thestatement
x = con(3,2);
willcausethefollowingprompttobeprintedinthewindow:
- (1,1)
indicatingthattheusershouldenterthe[1,1]elementofthematrix.Enteringanumber
andthenpressingENTERwillcauseapromptforthenextelementofthematrixto
appear.Pressing?willdisplayahelpscreen,andpressingxwillexit.
Thestatement
load x[] = b:mydata.asc
willloaddatacontainedinanASCIIfileintoanNx1vectorx.(Userows(x)tofind
outhowmanynumberswereloaded,andusereshape(x,N,K) toreshapeittoan
NxKmatrix).
Thestatement
load x;
willloadthematrixx.fmtfromdisk(usingthecurrentloadpath)intothematrixxin
memory.
Thestatement
open d1 = dat1;
x = readr(d1,100);
willreadthefirst100rowsoftheGAUSSdatasetdat1.dat.
9-16
GAUSSUser Guide










