% writing output to ascii data file using "save"

[xm,fm]=quadmin(2,4,1,5);
coordmin=[xm, fm];
save qmin2.dat coordmin -ascii

[xm,fm]=quadmin(2,4,-3,4);
coordmin=[xm, fm];
save qmin2.dat coordmin -ascii -append

[xm,fm]=quadmin(2,4,-10,-6);
coordmin=[xm, fm];
save qmin2.dat coordmin -ascii -append