# All Questions

91 views

### Special notation using round brackets and avoiding commas (for $\LaTeX$ input)?

Internally, when I work with mathematica I use a notation like br[1,2,3,4] to denote some quantities. Then I would like to export the results in ...
42 views

### Creating confidence interval plots for random graphs

I have the following code where I create instances of random graphs and use their properties to compute the mean of a quantity labeled 'PoA'. In the last line, I use a range of values for the ...
32 views

### Running remote kernel - free frontend license?

I was wondering, is there any way to remotely connect to a Mathematica kernel with some free front end software? I have one (home-use) license, so I have Mathematica installed on my main computer. ...
98 views

### Front ends gone wild with named slots

Bug introduced in version 10 Assume the following simple expression {#"Test"}& Now go in front of the # and just start ...
66 views

### How can I filter a permutation list depending of a pattern? [on hold]

I've created a permutation list Grid[Permutations[{a, e, q, r, t, u}], Frame -> All] and only want to see rows where the 5th element is a "t". I tried to do ...
22 views

### Referencing cells after reopening a saved notebook

I'm looking for a way to reference certain cells when opening a saved notebook. That is, assume I ran some commands in a notebook, got some output, saved the notebook, then reopened it in a new kernel ...
41 views

### Recursion Depth Error when trying to solve a Differential Equation [on hold]

I'm trying to solve the equation $2x^{2}y''+(\sin x)y'-(\cos x)y=0$. After doing some scratch work I've come to the conclusion that I should be able to solve the equation with some code I've created: ...
193 views

### Exercise using Sort

I have to order the following list according to the sum of the powers of each element of the list, using the function Sort. ...
122 views

### How to make Mathematica use system GTK style under Linux?

Under Linux, Mathematica uses preinstalled QT themes, but I'm sure that it's possible to make it use system GTK style. How?
35 views

### Need help filtering mesh spurious points [duplicate]

My only goal is to plot the x-intercepts and display their coordinates; however, there is an additional point being added to the first quadrant and the y-value for point a is not zero. How and why? ...
50 views

### Again, my plots are not displaying [on hold]

I am very new to Mathematica and I am having an issue with plots not displaying. i am using Mathematica 10 student edition. As per a previous post, I restarted the kernel, but that didn't seem to ...
29 views

### Exporting special characters

I'm trying to export a string with UTF8 characters, but... ToString[{"a" -> "\[Lambda]"}, CharacterEncoding -> "UTF8"] (* Out: "{a -> Î»}" *) My FE ...
41 views

### Working with Interpolating Functions

I have two sets of data that are not regularly sampled, and I want to produce a quantitative measurement of how similar they are while fitting them with an $x$ shift and $x$ and $y$ scaling. ...
28 views

Hello Mathematica community, I have a question for you all about Mathematica licenses. I'm a high school student moving into more advanced calculus, and I figured that I'd leapfrog Alpha Pro right to ...
45 views

### Connection to SQL server databases from Mathematica

I am an SQL developer and very new to Mathematica. As per my requirement I need to make a connection from Mathematica to my sql server database, after which my client will do some analysis with the ...
50 views

### Calculating the mean curvature of a curve [on hold]

Can I get the curvature at any point of a random curve? Through the answer, I could get the grape of the curvature K Then, using the ...
74 views

### Untangling delayed definitions and substitutions [on hold]

I am attempting to find the values of B1 and B0 that will minimize a metric. In the code below I define the metric and then attempt to calculate is by substituting in the current values of B1 and B0. ...
23 views

### Why won't Mathematica evaluate the inverses and conjugate transposes of this matrix? [on hold]

I'm trying to test if a square matrix is unitary with the following code. The matrix itself has very symbolic terms, which I felt could be the cause, but when I plugged in real numbers for all the ...
52 views

### What would be a good way to implement index notation?

So I need to calculate a 3x3 rotation operator (basically a matrix). I have an index-notation expression, and I was wondering if with pre-calculated theta, K1, K2, and K3, could Mathematica compute ...
33 views

### Graph equivalent of GraphPlot's MultiEdge style?

I like the default display of Graph much better than that of GraphPlot, but I do not see how to turn off the use of multi-edges ...
35 views

### Plotting the intersections between two functions [on hold]

I am trying to use the code below to plot intersections on the graph between the two functions, but I receive an error regarding stating it must be a pure function or list of pure functions. I am ...
81 views

### Why am I getting different answers for integral depending on method?

I'm trying to carry out an integral and I'm finding different answers depending on which method I choose to integrate with. I assume this has something to do with divergent pieces but I don't ...
134 views

### How do Reap and Sow work in this context

I have a list of points in 3D and I need to count how many times each point is repeated. For a similar problem with a list of characters many different solutions have been proposed in this post: ...
3k views

### How to get graph layout that reflects edge weights?

My heart soared to discover that Mathematica 8 offers support for specifying a weighted adjacency matrix in WeightedAdjacencyGraph. But it seems that, regardless of the weights between edges, the ...
97 views

### Numerical integration of oscillatory function

I am trying to evaluate the following oscillatory integration numerically but the answers are wrong or not accurate enough. I don't know what the problem is. ...
149 views

### Boson commutation relations

I have tried to adapt this answer to my problem of calculating some bosonic commutation relations, but there are still some issues. The way I'm implementing the commutator is straightforward: ...
28 views

### can a vertex have multiple labels? [on hold]

Is every elementary path simple ? I know that a simple path is the one in which no edge is repeated and an elementary path is the one in which no vertex is repeated.
47 views

### Graphing a plane [on hold]

I am trying to figure out how to graph a plane in Mathematica. This is what I am trying to graph, but nothing seems to show up in the output -- just an empty box. I've tried adjusting a lot of stuff ...
31 views

### commutative matching

I've been doing some work that results in the creation of hundreds or thousands of equations with the same answer. To prevent them from collapsing to their simple answers, each has been passed through ...
78 views

### FontFamily option in Style being ignored

Style[\[WhiteKnight], FontFamily -> "Segoe UI Symbol"] The output I'm getting looks like it is in the Mathematica.ttf font, not the designated Segoe UI Symbol ...
56 views

### Problems with multidimensional system of ODEs

I am trying to look at the migration of "i" number of species "c" in "10" number of habitats {designated as "j"} and to study their population size as a function of time "t". I have this following ...
103 views

### Finding the volume of the region enclosed by two surfaces of revolution [on hold]

Let A be the region bounded by the curves y = x + 7 and y = 9 - x^2. Use Mathematica to generate a plot of the region A. Find ...
62 views

### how to write generic equation for Recurring differential equations?

Hi I am a biologist and I want to model some ecological data that I have. I am new to mathematics and to ODEs. I want to write generic equations for a multi-dimensional system of ODEs. So, I want to ...
52 views

### Tracking movement via ImageFeatureTracking doesn't work

I have a series of 37 b/w microscopy photos. The whole sample shifts slightly (by ~10 pixels) from photo to photo (systematic error). See an example photo here and download two photos pos4_0.dat and ...
109 views

### Programming a MaxMin Linear Optimization

I want to program a function for a two-player game. Basically it's like this: . Each player has an array of options, and the result of the game is based on both players choices. So heres my most ...
65 views

### NDsolve complicated function

I'm trying to solve a complicated second-order ODE with NDSolve. I've never used NDSolve before. I've looked a lot of forums and tried some things, but I haven't been able to get the ODE's solution. ...
63 views

### Dynamic array in Mathematica like malloc in C++

I have a table to describe a crossroad. Each traffic line has it own Q(flow), V( speed) and direction. I'm saving data in array, which hardcoded (very simple code data = {{66, 55, 3}, {44, 33, 2}, ...
42 views

### Simplify the huge determinant product

I try to get the following determinant product result, ...
44 views

### Specific explicit Euler question [on hold]

In my example I have the following differential equation: $y'(t)=t^2-2y(t)$. Given a fixed step size of $h=0.1$ and $y(0)=0$ and the condition $t\gt0$ I calculated the following values using the ...
37 views

### Create a list of variables of a function

How can I create a list of variables of simple functions with arguments? These functions will be defined by the user, to be manipulated with some code later. ...
186 views

### How can I use Mathematica to solve a Stefan Problem using an explicit scheme?

I would like to plot the temperature distribution for a particular case. the problem is stated in the paper, behind a paywall here, summarized as Consider a one-dimensional container of length l, ...
90 views
+50

### Why does CreatePalette break my code?

I wrote some code to monitor the tasks that I'm doing - looks like this: Now it works just fine, but as soon as I wrap it up in palette it dies: Nothing updates.... I know there must be an easy ...
156 views

### Failed to create a special random-disturbed initial condition for partial differential equation

I try to use BSplineFunction to creat a initial condition for NDSolve which has periodic boundary condition, that is realized by ...
327 views

### Jumps in NDSolve results

I need to compute using NDSolve routine, some function $F(x)$, having two possible values $F_1(x)$ and $F_2(x)$ depending on whether the argument exceeds some ...
26 views

### What is a proper transaction from nested rules to nested associations? [duplicate]

Considering a list of rules {A -> {A1-> B}} what will be the correct way to come to <|A -> <|A1-> B|>|>? ...
308 views

### Plotting 2-D Electron Density Carbon Atoms

I need to create a 2-D electron energy density plot in Mathematica to compare with my STM experimental results in my lab class. This would be done by plotting the sum of the symmetric and ...
103 views

### What are pattern sparse arrays and how do I use them?

I found a few references to something called a "pattern sparse array" that does not contain any values, only positions. What is this data structure? How and when do I use it? From the ...
40 views

### Split time series by periods of activity

I have a collection of time series that involve periods of activity and inactivity. ...