# Questions tagged [iteration]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
49 views

### Define/store individual elements of Table output for back-substitution

At its core, mine is a very simple communication error between me and Mathematica that I haven't been able to crack, so I do apologise if it seems embarassingly inane. Please consider the following ...
44 views

### Find parameter ranges of a function whose value is within a window by sampling points

Problem: I want to find the ranges of the parameters for a function $f(x,y,z)$ when $0.9 < f(x,y,z) < 1.1$. All parameters are bounded $x , y, z \in [0,1]$. In the real problem the function ...
43 views

### Recursion depth of 1024 exceeded during evaluation of … when importing a directory with many files

I'm doing this: Import["/Volumes/Transcend2/images/", "*.jpg"]; And getting these errors: Then, after it's done, when I type "images" and shift+enter, I just ...
62 views

### How to update a function with previous iterate?

I'm trying to solve a differential equation numerically, and it has led me to a non-linear system of equations which I wish to solve using Newton's Method, which, for systems, is given by (for 3 ...
36 views

### Query in For loop

(I did not know how to write this properly. Excuse me for that.) ...
48 views

### Avoiding Tables, Do and other loop construction

In my work I have a lot of cases, where I should calculate non-listable functions for a quite large number of points. To be more concrete, consider first listable function ...
33 views

### Running Nestlist with multiple functions

I want to create a iteration with a loop for my Nestlist with multiple functions. The following code is a very simplified one. ...
32 views

### Nested for loop with variable length

I am new to mathematica and I want to create the set of all n-tuples whose sum is less than a fixed number $N$. My idea would be to do a for loop where I choose first number $k_1$ in between 0 and N, ...
23 views

### Optimization of storages capacity

Consider a series of storages where different goods are added into daily. I would like to optimize the distribution of these goods between the storages in a way which takes into account some ...
52 views

### Iterating over a list and defining the range accordingly

I have the following list, l = {{"a", "b"}, {"a", "b"}, {"c", "d"}, {"e", "f"}, {"e", "f"}, {"x", "y", "z"}, {"m", "n", "o"}, {"p", "q", "s"}}; for each ...
54 views

### How to save a all matrices renewed in each iteration?

I have a (n by m) matrix , in which the elements are recalculated and replaced by new ones in each iteration. (In other words I have a loop in which the elements of the mentioned matrix are being ...