help-octave
[Top][All Lists]
Advanced

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

Re: Another fsolve question -- Beginner


From: MMolloy
Subject: Re: Another fsolve question -- Beginner
Date: Thu, 26 May 2011 15:14:52 -0700 (PDT)

Przemek, Jordi,

Thanks again for the reply! Okay, I've tried this:

load E1.csv
global a = E1
function y = f (x)
y = zeros(10000,1);
global a
y = (1.14.*exp( -x./1.14 )) - (3.79.*exp( -x./3.79 )) - a
endfunction
load RG.csv;
[x, fval, info] = fsolve(@f, RG); 

where "E" and "RG" are 10000x1 matrices. It ran for a while, the memory
usage did increase but not as quick as before. I left it going until I got
the "memory exhausted" error.

There seems to be no problem with

  for i=1:100
    load E1.csv
  endfor 

on the same "E1". It stays constant at ~9.6MB

Maybe I'm asking too much from Octave! Should this happen?

Many thanks again to you both.

M.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Another-fsolve-question-Beginner-tp3553080p3553828.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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