24 views

### Append is not populating List [closed]

I am trying to do a parameter sweep for a two parameter objective function. The outcome will be stored in an array where each element will be a row. If the parameters are $\gamma$ and $\beta$ the ...
54 views

### How to make a hollow triangle with a star? [closed]

I want to construct a hollow triangle with stars on the borders. ...
39 views

### For loop over several arguments with different length each

I have a set of text files named in indexed way d1, d2, d3, d4, d5, d6, d7, d8, d9. I want to read them by Mathematica and export them back with other index names N(s1f1+s1f1), N(s1f1+s2f2), N(s1f1+...
111k views

### What are the most common pitfalls awaiting new users?

As you may already know, Mathematica is a wonderful piece of software. However, it has a few characteristics that tend to confuse new (and sometimes not-so-new) users. That can be clearly seen from ...
48 views

### Slow evaluation of derivative of Solution of NDSolve

I need to perform a Fourier Transform on the results of a ParametricNDSolve function as well as on the derivative of one of the coefficients. Now I do this by ...
117 views

### For loop to define a Matrix

Suppose I have a matrix, Mat = MatrixForm[{{1.5, 2.83034}, {1.50476, 2.82655}}] I need to define parameters such that in the matrix 'i'th component is 'Lambda' ...
51 views

### For loop and Append to update a list

I want to update a List, using a For-statement. It doesn't work as I expect. my data is like: ...
65 views

### Generating a list of outputs using For[] Loop

I have a question regarding the use of the For[] loop to generate a list of outputs from a function that generates random outputs. Essentially, creating a sample of ...
93 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 ...
130 views

### Plotting Basis Order function

Does anyone know how could I plot the basis order functions for the following function (code below)? An example of what I should expect is https://en.wikipedia.org/wiki/Lagrange_polynomial#/media/...
95 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 ...
36 views

### How can I find the maclaurin coefficients of different iterations of the same function?

I'm rather new to Mathematica so I would greatly appreciate any help. I want to find the series expansion coefficients of iterations of a function and export them as a .csv. Here is what I have ...
88 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'...