# All Questions

14 views

### PlotRange -> All for Show [duplicate]

I want to fit a gaussian function to a data below: ...
26 views

### Defined a function but it doesn't seem to work

I'm trying to implement the line-crossing algorithm on Mathematica and I seem to be having trouble getting it to work. More specifically, I would like to know what is causing the function to not ...
21 views

### difference between FullSimplify and Simplify

I have a problem to dinstinguish the following two mathematica codes, the only difference is the first use FullSimplify and the second is Simplify. but the results are totally different. what is wrong,...
16 views

### Converting a list of lists of indices into a sparse matrix of ones and zeros

I have data formatted like {{a,b},{c,d},{e,f}} where each entry is an integer. I need to turn this in to a sparse array with entries ...
20 views

### Proof The union of an infinitely countable set and an element is countable [on hold]

If $A$ is countable infinite set and b $\notin$ $A$, then $A$ $\cup$ {b} is also countable. I thought of starting of saying lets assume $A$ $\cup$ {b} is countable and show that $A$ is a subset of it ...
52 views

### How to use NestWhileList with a function of two variables

I want to iterate a function of two variables in NestWhileList. Obviously it will need a termination condition. For example imagine I have this function: ...
35 views

### Python Convolve2D functionality in Mathematica

I am new to mathematica. I am looking for an alternative for scipy.signal.convolve2d. I did find functions like ListConvolve, ...
43 views

### Complex Analysis with MATHEMATICA [on hold]

I am interested in chapter 21 of the book: Complex Analysis with MATHEMATICA by William T. Shaw. chapter 21 - Conformal mapping II: the Schwarz—Christoffel mapping pp. 451-472 I'm not able to get ...
28 views

### Putting constraint on a replacement rule

I am a neophyte in Mathematica programming and your help is appreciated. I'd like to restrict the values that a parameter can take. These are my parameters ...
53 views

### Evaluating $\int_0^\infty dx /{(x^2-a^2)^2+b^4}$ returns a negative number

I am trying to evaluate $\int_0^\infty dx /((x^2-a^2)^2+b^4)$. And I seem to have an error that I cannot detect. Using ...
20 views

### solving a non linear (log-linear) recurrence relation

I'd like to solve the recurrence relation \begin{align*} f(n+1) &= 2 f(n)^2 h(n) \\ h(n+1) &= h(n) f(n) \\ f(2) & = h(2) = 2 \end{align*} for an explicit solution for $h$ and $f$. So ...
37 views

### Why does DeleteDuplicatesBy fail?

This is a pretty straightforward code. I just want to delete duplicates based on the final entry in each row. I have evaluated very similar numbers with no problem. ...
196 views

### Data extraction from a picture of a graph

How can I extract data from this picture of a graph? i = Import["http://i.stack.imgur.com/Ac8m0.png"]; The caption of the picture reads: " Two-dimensional ...
31 views

### Hide Notebook scrollbars

Is it possible to hide the scrollbars from the notebook windows while still being able to use the mousewheel to scroll? Since I never click on the bars themselves they're just a waste of space. It's ...
25 views

### Easier way to input Dynamic matrix?

I've only been using MMA for a month, and I'm working on making interactive Linear Algebra examples that will be used online for students. Right now, for inputting numbers into a matrix, I've been ...
55 views

### Visualization problems [on hold]

I am visualizing 1-dimensional curves that are periodic. Due to periodicity, extending the domain should result in the curve being retraced and therefore remaining unchanged. This doesn't seem to be ...
46 views

### How can I get the differences of all elements of list? [duplicate]

I want to get the difference of all elements of a list for example: $L=\{1,2,3,4,5,6\}$ for any $i$ and $j$ $\in L$ return the differences, for example for the first element $1$ we get the difference ...
29 views

### Drawing Arrows to connect points from two separate data sets representing coordinates

I have 2 separate excel files that I'm importing into Mathematica. Each excel data file has numerous rows of data containing a coordinate of three columns (x,y,z). I have been able to plot these ...
37 views

### Henon Map Equation Trekker Error

I am trying to make an Equation Trekker for the Henon map in the following way: ...
28 views

### High CPU load for dynamic classification

I encountered some issues with extremely high CPU load when I tried to classify live images (using Dynamic and CurrentImage[]). ...
47 views

### Eigenenergies of a symmetric tridiagonal matrix [on hold]

we consider the time independent Schrodinger equation (TISH) where we want to calculate the first few instantaneous eigenergies. Discretizing space we get : So we can rewrite the TISH as, (where ...
34 views

### Simplify: Why does it miss this simple one?

I got a result with the expression ...
44 views

### Sorting matrices by their norms

I have a matrices A and their Norms(Matrices B). I want to rank Matrices A based on their Norms. From smallest to highest Norm
25 views

### Pre-processing and deconvolution of CLSM images

I have some confocal laser scanning microscopy data sets that I want to binarize for further analyses. Due to the fast bleaching dyes and the general scanning duration we established a setup which ...
41 views

### Nested parameter selecting in Manipulate

I have the following code, stripped down from the original to the bare essentials: ...
30 views

### How to get Quantity to collect like terms?

In Mathematica numerical terms collect when their variables are equal. .2 "SERC" + .7 "SERC" (* 0.9 "SERC" *) However, numerical ...
52 views

### Mathematica Bug with version 10.4.10 with OSX [on hold]

I have upgraded mathematica to 10.4.10 and OSX El Capitan version 10.11.4. On my desktop I use linux and mathematica version 9. I have a notebook on the desktop that run just fine ( I am solving ...
46 views

### Comparison Graph

I want to draw the combine comparison graph of the following four sequences (note that two are approximatly equal), each one have different colors and lables etc AK ...
47 views

### Detection of blurry object

I have a series of very similar images (8bit gray-scale, png) where I track an object. The problem is that it is blurry and its brightness is comparable to the background. Below is the code how I am ...
94 views

### Making a 3D plot of $x\,y$ that looks like the one I get from Maple [on hold]

I made a 3D plot of $x\,y$ in Maple: plot3d(x*y, grid = [10, 10], color = "Red", style = pointline,axes = framed) How can I make the same graphic in ...
33 views

### Naive question on ODE numerical solving and periodic initial conditions

I have a second-order nonlinear ODE for which I would like to find a numerical solution, with periodic initial (boundary) conditions. Can this be done directly with ...
32 views

### Finding the magnitude a matrices [on hold]

I need some help. I have a list of 3 x 3 matrices of real numbers.I want to find how close each of these matrices are to a {{0,0,0},{0,0,0},{0,0,0}} matrix. Any suggestions to a method algorithm or ...
22 views

### Expectation of Rician Distributed Data [on hold]

As you can see in the attached file, I'm trying to obtain the expectation of some Rician distributed symbolic data. However output and input are the same. I guess that happens because Mathematica is ...
248 views

### Strange behavior of StringReplace, same expression evaluated differently

I have two expressions which are exactly same: StringReplace["in the next few days", {"in" -> "ffdsf"}] and ...
18 views

81 views

### Calculate area of apple from image

I want to find area of following apple I want to do something like this: define boundary region of apple apple=... then find area using only ...
26 views

### Amelioration of a GraphPlot [on hold]

In the following graph ...
37 views

### 2d numerical integration

I'm trying to get a numerical solution for a double integral: ...
54 views

### Derivative of a 2D Interpolating function

I cannot find a way to obtain the partial derivatives of a 2D Interpolating Function obtained with ListInterpolation. I didn't find anything useful on the web. Any ...
44 views

### Place Legend above Epilog

I am currently struggling with a problem which I haven't seen answered anywhere else. I want to make a ListDensityPlot graph in which I need to draw some ...
34 views

### How to find vertice by two angles and side? [migrated]

I know 'alpha', 'betta', length 'c', vertices: 'A' and 'B' How can i find the 'C'?
27 views

### Shortest[] didn't work for StringReplace for shortest consistent match if whiteSpace involved [duplicate]

This is a problem related to How to use StringReplace "from bottom to global"? The answer of @J.M. works well for "<...>" styles : ...
18 views

Yesterday I asked my first question on mathematica.stackexchange, but being as an unregistered user at that moment. Then I confirmed my email and would like to express my gratitude and note the ...
73 views

Observe: ...
57 views

### RegionPlot with rank constraint

I am trying to plot the feasible region of a rank constrained semidefinite program shown below: The Mathematica code that I am using is the following: ...