help-octave
[Top][All Lists]
Advanced

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

Re: GSoC: Student blogs


From: c.
Subject: Re: GSoC: Student blogs
Date: Wed, 23 May 2012 11:10:28 +0200

On 23 May 2012, at 09:24, richard wrote:

> FWIW I use Octave occasionally to do some modelling. 
> Conventional tools are unhelpful, hence my model has 
> an outer loop that increments a variable ten times, 
> and that is applied in an inner loop of 100,000 steps. 

If I understand correctly your code is something like:

for outer_loop_index = 1:10
  for inner_loop_index = 1:1e5
    result(outer_loop_index, inner_loop_index) = inner_loop_function 
(outer_loop_index, inner_loop_index);
  endfor
endfor

is that what you mean?
c.

reply via email to

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