# All Questions

10 views

### How to filter acoustic signal

I have a huge data file which I can't ListPlot. This code generates similar kind of data: ...
19 views

### How to automate parallel codes

I've got a code that I want to automate, but I'm not sure how. I have a Mathematica notebook that I need to run many times over, each time changing one variable and repeating. My idea was to set up ...
18 views

### Can Mathematica return the first few terms of a sequence given the first few terms of a Dirichlet Generating Function?

For example: a=Sum[1/n^s,{n,1,6}]; Expand[a^2] returns a big mess. I want to see something like: 1/s + 2/s^2 + 2/s^3 + 3/4^s + 2/5^s + 4/6^s + ... + 1/s^36.
21 views

### Using Manipulate for Lists in Matrixform

At first sorry for my english, i hope everyone can understand my problem: I like to use Manipulate for doing something with lists and i like the lists to be in Matrixform. Is that possible? I tried ...
41 views

### Creating a realistic, photo-like 3D effect from an image or document

Suppose I have an image or a document, provided in a high-quality PDF file. You can open and view it in a PDF viewer, but then it has a kind of static look: it's not something tangible, it's just an ...
10 views

### NonlinearModelFit not hunting for good values

I have the following data which come from complex values but I have turned them into a 3D list ...
34 views

### Efficiently plotting a function with its translates?

How does one efficiently produce a plot of {f[x], f[x]+1}? Assume that f[x] is a long computation, which I would like to avoid ...
22 views

### Can Mathematica calculate the symbolic solution for an arbitrary (integer) order polynomial?

"In the 1880s, Poincaré created functions which give the solution to the nth order polynomial equation in finite form. These functions turned out to be "natural" generalizations of the elliptic ...
23 views

### Substitute all known values in matrix

There is probably a very simple way of doing the following, but I cannot find it. I have a an array of symbolic variables: coefficients = Array[c, 3] I then ...
37 views

### How do I define the following piecewise function?

For 0<=t<=10, if 5t<=n<=5t+2, then f[n]=4n, and if 5t+3<=n<=5t+4, then f[n]=4n+1? I would like then to use the specific values of f[n], for all n between 0 and 54 (t here is any ...
51 views

### Cases with Alternatives failed

Consider this list of rules rules = {a -> 1, b -> 2, c -> 3} I'd like to fish some of the rules out of such a list using ...
21 views

### Are there any rules about style inheritance in Mathematica?

Ok, I will not complain, I know at the end I can just style every part of an UI separately. But are there any rules about inheritance? What would be nice to know at least is: which Heads are not ...
48 views

### Counting subsequences (i.e., patterns) within a list?

I would like to count the number of subsequences in list. Say I have data given by: data = {1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1}; I would like to count the number ...
100 views

### Up and down conundrum

I have a problem I'm trying hard to find a solution for, although I don't know if a solution exists. The following rules produce the result e[2].f[] ...
17 views

### problem with exporting matrix elements in an array to a .txt file [on hold]

How can I export All the matrix elements in an array to a .txt file?
24 views

### Equation solving: Solve returns a periodic solution

I have a very simple trigonometric equation, that I've been trying to solve for a variable for a few hours now: (I couldn't find how to correctly format this) ...
26 views

### How to justify this Grid vertically

As titled above, How I can justify and how I can change the space between columns in this grid specified belew: ...
30 views

### How to write 1.0 in InputFields with ContinuousAction and Number constraint

With the concept of user responsiveness in mind, I’ve tinkered a couple of small apps that are supposed to be eh… responsive, i.e. calculating without having to press enter. They all rely on ...
60 views

...
57 views

### Custom distribution [on hold]

I am trying to define a custom distribution using the code below. Unfortunately, it did not produce a satisfactory result ...
18 views

### Determining default value from previous arguments [duplicate]

How does one specify a default value for an argument which is dependent on the previous arguments of a function? For instance, consider the function ...
72 views

### Methods for producting alternating TickLabels in a Plot?

I am producing a plot with alternating TickLabels. Here is a MWE: ...
28 views

### Evaluation order in polynomials

I'm confused by the evaluation order of polynomials containing division. Consider these two polynomials: (x^2 + y) z/w (1) a/b (2) And their tree ...
60 views

### Front End options

Inspired by a recent question and others like it, and not finding an existing duplicate, I ask: What is the hierarchy of Front End options? How do they work? How can their values be set and ...
64 views

### Theory => practice: constructing a function “functionally”

I've read the Mathematica documentation and am certain there's way to do this with functional programming, but can't quite conceive yet how. I've taken a simple example (stating the series for ...
42 views

### How to efficiently read data from any part inside huge file

I have a data file (over 2.5 GB) and I want to do calculations on the data. At first I used. data=ReadList["file", Record,n] I still have three problems: 1- ...
22 views

108 views

### Plotting energy dispersion on a hexagonal Brillouin zone

I'm trying to plot the energy dispersion of a graphene similar material. I've used the Tight Binding Function Approximation considering first neighbours and no overlaping. I have this 2 expressions of ...
33 views

### Why doesn't my expression evaluate at the subkernel?

Consider this code: ...