# All Questions

36 views

### Find and label all minima below a certain value in a ListLinePlot

Im trying to find a nice and automated way to plot infrared spectroscopy data sets like this one with the traditional IR-style inverted x-axis: ... 639.000000 85.468113 638.000000 85.626116 ...
56 views

### Is there an easy way to set or retrieve a graph edge properties as a list, in a single go?

I am trying to use arbitrary edge properties in Graphs, and I am looking for easy ways to work with them. In many cases it would be convenient to be able to set ...
63 views

### How to solve nonlinear equations involving integrals

Sorry, if this is a duplicate, I was not able to find a corresponding answer. The only question related to mine, as far as I can see it, is this one: How to solve algebra equations containing ...
35 views

### RegionPlot empty when equation is returned from Solve [closed]

I have two concentric cones, one slightly bigger than the other and I want to plot their conic sections in 2D intersecting them with the same plane. I want to plot the contour of the inner conic and ...
31 views

### Numerical Analisys and StepDataPlot

I'm using StepDataPlot to compare several methods for differential equations. Does exists a function, or something else, to find the number of steps that the choosen method used to find the numerical ...
51 views

### WhenEvent stops working after first instance

I'm modelling a very simple physical situation is which an object is rested on two moving fingers. Sometimes the object moves with one finger while sliding over the other, while at other critical ...
68 views

### How to delay the definition of a function from the time of package initialization to when it is first called

I am writing a package where a couple defined functions take a very long time define at initialization time (because they are large CompiledFunctions). However ...
118 views

### Determine distance between two lines in an image

I have the fallowing image: http://postimg.org/image/qv7q9geuh/ In this image there are 5 more or less vertical peaks in total. Let the x-axis be the horicontal axis and y-axis be the vertical axis. ...
99 views

### Plots of Bipolar Coordinates

Can you please tell me how it is done. $t$ parameter lines should be barely visible, $a$ lines should be thick, so one can readily see orthogonality (perpendicular cutting) of $a$ curves in combined ...
44 views

### software package choose [closed]

I'm a researcher and now I've a couple of PDEs to solve and represent the results by Chaos, Bifurcation, Poincaré map, Trajectory and orbit. so I'm wondering which software is the best for the above ...
98 views

### Why doesn't Mathematica pull out common factor when simplifing sums of square roots?

Why can't Mathematica pull out the common factor in the following expression when FullSimplifying, to see that it is zero? ...
32 views

### highlighting, underlining or just styling string through patterns

I want to give an particular style to string that they matched with a pattern, by example, given by a regular expression, a string or a list of both, whatever. I have already coded a function that ...
23 views

### Export vector in .txt file with newline separator [closed]

I need to export a 1-D list (vector) in .txt format with one line corresponding to one value : v = {v1, v2, v3, ..., vn}; And the result should be, in ...
23 views

### Finding Structure for Package Editor docked cell [duplicate]

I'm attempting to modify (overwrite) the docked cell in the package editor to add some "jump to" capability. It has built in "jump to a function" action menu which is nice, but I'd like to expand on ...
60 views

### Changing the axis ticks of a LogLogPlot

According to the Documentation LogLogPlot effectively generates a curve in which Log[f] is plotted against ...
35 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. ...
355 views

### Plot Lorenz system

I solved the Lorenz system by using Euler forward method (without using NDSolve). But I am not getting the attractor. The Mathematica code is as follows ...
58 views

### How to scope all variables in Manipulate? [duplicate]

I'm using the Manipulate structure of the simplified form below in order to make Wolfram Demonstration. ...
96 views

### Sorting eigenvectors according to its projection

The problem I'm trying to calculate the eigenvalues and eigenvectors of a matrix that depends on a parameter x. As x changes, I ...
43 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 ...
23 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 ...
67 views

### Solving coupled ODEs with NDSolve to fit experimental data

I need to fit a multi-exponential data (Intensity x Time) using a model consisting of three differential equations. I want to find the parameters that gives the best fit to the experimental data. ...
42 views

### Extract cell means from ANOVA result and plot them

Is it possible to extract the cell means from an ANOVA result so one can plot them? I can extract the cell means using Part but I am not able to plot that information using ListPlot. Any suggestions ...
68 views

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

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 ...
45 views

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

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: ...
32 views

### Exporting special characters

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

### Again, my plots are not displaying [closed]

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 ...
216 views

### Will the “for” loop not have an effect on something I'm looping over?

My title is probably worded horribly, let me explain what I mean. So I essentially have a list of lists, and I want to go through and mark which list indices have a certain property. This is how I ...
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 ...
42 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. ...
36 views

### Plotting the intersections between two functions [closed]

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 ...
57 views

### Why is this function taking so much more time when its argument reaches 250? [duplicate]

I am observing something which I do not understand with the following function function: ...
53 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 ...
93 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 ...
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? ...
62 views

### How to use the “EdgeLayout” suboption of GraphLayout?

According to the documentation, GraphLayout has an EdgeBundling suboption, which can take the following values: ...
90 views

### Graphics 3D - manipulate

Basing on this code: ...
138 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: ...
51 views

### Graphing a plane [closed]

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 ...
377 views

### Random sampling of multiple integers with constant sum

I want to build a model of 40 geological layers, assuming each layer has equal chance to be one of the four types of rocks and the four types of rocks have equal chance to appear in any layer. The ...
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 ...
170 views

### Permutations of 0's and 1's in a lower-triangular matrix

For a given $n \ge 5$ create every $n$-by-$n$ matrix containing exactly four $1$'s strictly below the diagonal and $0$'s elsewhere.
56 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 ...
64 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}, ...
52 views

### Calculating the mean curvature of a curve [closed]

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 ...
36 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 ...
110 views

### Parametric Plot on Surface of Sphere

I have a set of parametric equations in spherical coordinates that supposedly form circle trajectories. See below: ...
135 views

### Simplify the huge determinant product

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