help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: memory exhausted


From: Guido Dietz
Subject: RE: memory exhausted
Date: Tue, 28 Jul 1998 21:43:38 +0200 (METDST)

On 28-Jul-98 A. Scottedward Hodel wrote:
> I ran the following code on 1 172x172 matrix:
> 
># truncate acd to 6 digits of precision...
> for ii=1:rows(acd)
>   for jj = 1:columns(acd)
>     eval(["acd(ii,jj) = ",sprintf("%12.6E",acd(ii,jj));]);
>   endfor
> endfor
What about:
acd=round(acd*1e6)/1e6;
Should a) work and b) be faster ...

G.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]