5
votes
2answers
132 views

Identifying and removing features from scanned handwriten text

Please, can I have some ideas and help on how to identify and remove features like this one or this one from scanned handwritten text like this: These features are not connected to other text ...
0
votes
1answer
46 views

Problem storing $x_j$ terms in variable x

This works: Table[Subscript[x, j], {j, 1, 10}] But this doesn't: x = Table[Subscript[x, j], {j, 1, 10}] Giving this ...
1
vote
1answer
53 views

Creating a Dynamic Time Index Slider for List Animate Plot

I am trying to create an animation using ListPlot, which has worked, but I want to be able to see how time is changing (i.e. its dynamic value) as the animation runs. Here is my normal List Plot ...
3
votes
1answer
78 views

How to define the following matrix

How to define the following matrix in Mathematica? $$A(n) = \begin{pmatrix} B_{1} & B_{2} & \cdots & B_{n} & 1 \\ B_{n} & B_{1} & \cdots & B_{n-1} &1 \\ \...
1
vote
2answers
132 views

Distance between rectangle and parametric curve

Given a 2D parametric curve $(x(s), y(s))$ and a rectangle where each of the four vertices is parameterized $(x_i(t), y_i(t))$, $i \in \{1,2,3,4\}$, how can Mathematica compute the distance function $...
0
votes
0answers
39 views

FindFit with compiled function [on hold]

I try to fit parameters of my experimental data by FindFit. For the model function I use a compiled function, that does numerical calculations. Unfortunately, I get ...
3
votes
1answer
97 views

Identify a note in a song using Mathematica

I'm trying to figure out how to use Mathematica to identify a note from a song. The short .mp3 file found here or here contains a bass-note that I'd like to identify. I can find it through ...
1
vote
1answer
48 views

Complex exponential integrand and NIntegrate

For some non-negative numbers $m_1$, $m_2$, $E$ I define a function $$ f\left(\boldsymbol{q},E\right)=\frac{1}{2\omega_{1}\omega_{2}}\frac{1}{\omega_{1}+\omega_{2}+E}+\frac{1}{4\omega_{1}\omega_{2}}\...
0
votes
1answer
47 views

Color a list of 2D points continuously

I have a list of 3-tuples. First 2 positions are coordinates in $R^2$, the third specifies concentration of a chemical at that point, which I want to render in color. Here's what the list looks like: ...
3
votes
1answer
85 views

Automatic cascading placement of graphics

Is it possible to automatically cascade graphics or images in MMA? It seems to me that most of the built-in graphic functions have a gridded style, e.g., ...
4
votes
2answers
104 views

Strange Manipulate behavior

Running the following code and pressing the play button under b will input -2147483648 in b. ...
1
vote
2answers
80 views

Interpolating initial conditions of orbits

I have a data file containing the $(x,y,p_x,p_y)$ initial conditions of two-dimensional orbits. Let's plot them on the $(x,y)$ plane. ...
1
vote
1answer
95 views

Computing integrals in Mathematica

I am trying to actually compute $\int \sqrt{\cosh{y}-\cos{x}}e^{inx} dx$ in mathematica. As an example i tried computing $\int \sqrt{1-\cos{x}}e^{inx} dx$ and got a result. But when i try $\int \...
1
vote
1answer
38 views

How to change font size of axes labels without affecting everything else in a framed plot

I have a plot expression that looks something like this: ...
0
votes
0answers
36 views

Data structures in mathematica for choosing permutations

I am trying to classify permutations of n, in this case n=6, elements depending on the cycles that contian the points 1 and 2, since these are considered to be special points. So for example, I will ...
1
vote
1answer
60 views

ParametricPlot3D shows an empty box

I'm trying to visualize numerical solution of 4 differential equations (these are the coordinates of a wave function in a quantum mechanical system): ...
2
votes
3answers
72 views

Parsing/validating CAS registry number identifiers

Mathematica includes a lot of curated information on molecular structure and properties available through ChemicalData and ...
5
votes
0answers
97 views
+50

Finite difference method not converging to correct steady state or conserving area?

I am working with the following PDE, which is an advection-diffusion type equation. It describes the movement of a fluid-fluid interface inside an annulus of inner radius $R_1$ and outer $R_2$ under ...
0
votes
0answers
38 views

Trying to understand Function with Sequence, Map and Block (FormCalc, FeynArts)

I am trying to understand some functions of FeynArts and FormCalc (http://www.feynarts.de/), but I don't have a clue what this function does (in Analytic.m): ...
0
votes
1answer
48 views

Can this expression be calculated symbolically?

I want to do definite integration of the following expression ...
7
votes
1answer
89 views

How to make classification results replicable?

Let's suppose I have a simple classification problem: ...
1
vote
1answer
68 views

Predicting the initial conditions of orbits inside a closed curve

I have a data file containing the four orbital element $(x,y,p_x,p_y)$ of a two-dimensional closed loop orbit. Note that the exact implicit equation of the orbit is not known. The plot of the 2D ...
0
votes
1answer
57 views

Nested double sum does not converge

I am quite a beginner, and have the following problem. I have a sum that comes from Poisson distribution and for each index there corresponds a binomial-type sum. I try to find its root for the ...
-2
votes
2answers
120 views

Create a filled ListPlot, where the points in the list come from within the regions rather than from the region boundaries

Is it possible to fill, color, under the points in ListPlot where the points define the area and the boundary? Assuming that the number of points are large enough ...
2
votes
0answers
36 views

Simplifying integer inequalities to equality [on hold]

I try (in Mathematica 10) FullSimplify[l >= l1 + l2, {l <= l1 + l2, Element[l | l1 | l2, Integers]}] But that gives back ...
0
votes
0answers
26 views

Expectation of summation with symbolic indices

I am working on symbolic computations with mathematica. I faced an issue with taking expectation of a large expression involving summations with symbolic indices. Is it possible to take expectation ...
1
vote
2answers
49 views
1
vote
2answers
51 views

Passing each element of a list as an argument to a single parameter function [on hold]

Consider a single parameter function: g[w_] := w^2 +1; Consider a list: slist= Range[0, 100, 1]; Now when I apply function ...
0
votes
1answer
58 views

How to code the partial trace of a matrix

I want to compute a partial trace using formula $\rho_A=\sum\langle B|\rho_{AB}|B\rangle$ . Example, $\rho_{AB}= $$ \begin{pmatrix} a & b & c & d\\ e & f & g & h\\ i &...
0
votes
0answers
75 views

Use of Manipulate Function + Iterative Method

I created this topic yesterday, but since it was lacking my code and further explanations of the problem I needed to address, the topic have been put on hold. Anyway, now I'll add the article I'm ...
7
votes
2answers
90 views

Control of individual Framed edges?

Is there an option or method for Framed analogous to Frame in Graphics to control display of ...
1
vote
1answer
103 views

Not getting the correct solution of a second order ODE [on hold]

This is the original question My code is ...
1
vote
2answers
125 views

How to loop over a varible while plotting a function

Suppose three functions : k1[s_, d_,m_] := 3 s + 5 d + m k2[s_, d_] := 5 s - 7 d k3[s_, d_,m_] := s + d - m How to add the following code to plot conditional <...
0
votes
0answers
48 views

Help in controlling NDSolve

I have a system of PDE's with initial and boundary conditions I'm solving using NDSolve. There is one term in the system (v) ...
0
votes
0answers
66 views

How to compute this integration? [on hold]

I would like to compute the following integral: I tried to write it as ...
2
votes
0answers
70 views

Solve 3D Electric Field using FEA

The objective is to solve the 3D electric fields for the geometry below and generate the continuous function eField3D[x_,y_,z_]. The method I was planning on using ...
1
vote
3answers
71 views

Dynamic update with manipulate is buggy

Try to reproduce the following code: ...
3
votes
1answer
67 views

Progressive animation of a sequence of points

I have two pieces of code that work. The first produces a list plot: ...
1
vote
1answer
79 views

integrating with multiple indicator functions depending on each other

I need to compute the following integral with three indicator functions, $I(x)$, $I_1(x_1)$ and $I_2(x_2)$, $$ \int_0^1\int_0^1I(x)\left( \ I_1(x_1)\,x_{1} + I_2(x_2)\,x_{2}-1 \right) dx_1 dx_2 $$ ...
0
votes
1answer
30 views

Defining a function using an InterpolatedFunction from a data set

suppose I have two data sets A and B, which are tables/lists/arrays/whatever Mathematica calls it, from an imported CSV. there'd be lines that look like this: ...
7
votes
2answers
193 views

RegionIntersection puzzle

I am using RegionIntersection[] to intersect two rectangles, phrased as Polygon[]s: ...
0
votes
2answers
38 views

Convergence Problem in NIntegrate

I need to evaluate the following integral numerically for different values of a: ...
3
votes
1answer
49 views

Solving biharmonic equation with Mathematica

I would like to solve a biharmonic equation in polar coordinates of the form: $\Delta \Delta \Phi[r,\theta] = r^i cos(j \, \theta) \quad i,j \, \epsilon \, \mathbb{N}_0 $ I know that a solution for ...
3
votes
5answers
209 views

How to select elements from a list of pairs based on 2nd element of the pair [on hold]

I have a large list of arrays of the following form ...
0
votes
0answers
46 views

Solving a non-linear equation [duplicate]

I have one non linear equation, and I am trying to get value of x but when i employ Solve function as below ...
5
votes
3answers
67 views

Using select in a nested list [on hold]

I have a nested list of the following form ...

15 30 50 per page