User guide

load x[] = dat1.asc;
willloadthedatainthefiledat1.ascintoanNx1matrixx.Thismethodispreferred
becauserows(x)canbeusedtodeterminehowmanyelementswereactuallyloaded,
andthematrixcanbereshape'dtothedesiredform:
load x[] = dat1.asc;
if rows(x) eq 500;
x = reshape(x,100,5);
else;
errorlog "Read Error";
end;
endif;
Forquickinteractiveloadingwithouterrorchecking,use
load x[100,5] = dat1.asc;
Thiswillloadthedataintoa100x5matrix.Iftherearemoreorfewerthan500numbers
inthedataset,thematrixwillautomaticallybereshapedto100x5.
Writing
TowritedatatoanASCIIfiletheprintorprintfmcommandisusedtoprinttothe
auxiliaryoutput.TheresultingfilesarestandardASCIIfilesandcanbeeditedwith
GAUSS'seditororanothertexteditor.
Theoutputandoutwidthcommandsareusedtocontroltheauxiliaryoutput.The
printorprintfmcommandisusedtocontrolwhatissenttotheoutputfile.
Thewindowcanbeturnedonandoffusingscreen.Whenprintingalargeamountof
datatotheauxiliaryoutput,thewindowcanbeturnedoffusingthecommand
screen off;
Thiswillmaketheprocessmuchfaster,especiallyiftheauxiliaryoutputisadiskfile.
22-4
GAUSSUser Guide