Linked Questions

1
vote
1answer
268 views

Multiple file export

Here my code is running fine.In this code I put x=1 but I want to run x from 1 to 100 and for each value of x I want to export the excel file by the name according to x value.like for x=1 it export by ...
0
votes
1answer
259 views

Parallelizing nested for loops

I'm currently computing nested for loops. I count up a few counting variables and compute a value for each set of counting variables, then that value is added to an array. It is a way of adding up ...
0
votes
1answer
71 views

Quick Wolfram Question [closed]

This is my code so far: For[i=2, i<10, i++, Solve[x^i == x+1 && x >0]] I would like to sum up all the x values that it outputs. How can I do so?
1
vote
1answer
90 views

Optimizing a slow For loop

I know that this is a "beginner question", and, in fact, I am. I want to improve my code, as it takes really too much time to run. I have already read some other discussions, like here, but ...
2
votes
3answers
68 views

Performing iterated integrals

I would like to define a function $f_n(x)$ and plot it with Manipulate. The function is defined by $$ f_{n+1}(x)=\frac{1}{\int_0^1(f_n(x'))^2dx'}\left(\int_0^xf_n(x'...
1
vote
2answers
87 views

For loop not working as expected from a C programmer's perspective [closed]

Why does Print[n] produce output inside a For loop, while Sqrt[n] (as well as many other ...
1
vote
2answers
63 views

How can I multiply the elements of a list using loops?

{1,1,1,-2,1,2} How acn I multiply the elements in the list using loops?
2
votes
1answer
94 views

Speeding up code for (0,1) Matrix and Calculating Recurrent Rate (RQA analyses)

I am trying for several days make this code faster. The function just takes a time series makes a Distance matrix of it and then compares components of it with Variance of that series and if component ...
0
votes
1answer
155 views

Plotting using RandomReal output [closed]

...
1
vote
1answer
90 views

Is there any way to save time using of “Cross” or “Table”?

I need to solve a equation by NDSlove, so I write the equation first, but it takes me a lot of time. The follow is my code ...
1
vote
1answer
136 views

Two actions in the loop body

Help me please, how I can write two action in the body of the cycle "for"? For example, if I need to write Print[] and Append[] at each iteration.
3
votes
1answer
82 views

Plotting in for loop

I am having some problem while plotting the data being generated in for loop My aim is to plot the result of for loop while it is solving the equation for each value of w,i.e. plot between w and x ...
1
vote
2answers
79 views

Error in Assignment

I want to create a matrix with each element updated as per the formula, whose inputs are dependent on the location of element in the matrix. ...
4
votes
1answer
79 views

How to display a True/False table [closed]

Below is my written program ...
1
vote
0answers
160 views

loops in one loop, [closed]

I'm new Mathematica user. I try for loop but it didnt work. I used ...

15 30 50 per page