5
votes
1answer
150 views

Does RunProcess work on Chinese Windows?

I am asking for feedback from people running Mathematica 10.0.x or 10.1.0 on Chinese versions of Windows. Does the following command work or does it give $Failed? ...
1
vote
3answers
129 views

Many NSolves to interpolating function

I have an expression of the form: expr = TerribleNumericalFunction[U[p]] == SimpleFunction[p] The Simple function is a ...
1
vote
1answer
107 views

Changed appearance of Quantity expressions in v10.1.0

After installing Mathematica v10.1.0 (in Windows 8.1 x64), I noticed a change in appearance of Quantity expressions. For example under Mathematica v10.1.0: while ...
2
votes
0answers
125 views

Simplifying symbolic multiple sums

suppose I have a multiple sum with an unspecified number of indexes: $$\sum_{i_1=1}^n \ldots \sum_{i_k=1}^n x_{i_1}\otimes\ldots\otimes \hat{x_{i_j}}\otimes\ldots\otimes x_{i_k}$$ with $x_{i_j}$ ...
15
votes
1answer
517 views

MaTeX for Mathematica 9

There's a great package called MaTeX that @Szabolcs wrote which allows one to easily use LaTeX within Mathematica for things like axes labels. After hours trying out various other solutions I ...
3
votes
0answers
160 views

Problem drawing a GeoPath polygon with GeoGraphics

I want to draw some polygons bounded with various geographic coordinates. For example, here is the code to draw a triangle between New York, Cape Town and Beijing. ...
0
votes
1answer
73 views

Why does Compile redo the calculation when overflow happens?

When implementing the Numerov method solving Schrodinger equation, I encountered this problem. In order to show the order of the evaluation, Print is added. ...
1
vote
1answer
108 views

Computational Complexity of HypergeometricPFQ

What is the computational complexity of HypergeometricPFQ? I got a result of a product of a multinomial and HypergeometricPFQ and I was wondering if that would be considered a closed form solution ...
0
votes
0answers
44 views

How to draw an ellipse [duplicate]

I'm new. I just started learning how to use Mathematica. I'm trying to draw an ellipse given by the implicit equation $y^2 = 1/625\,(330 625-529x^2)$. I cannot figure out how to do it.
1
vote
1answer
92 views

Why does Mathematica remove some formatting?

I'm trying to save a file as PDF. Using SetOptions[$FrontEnd, PrintingStyleEnvironment -> "Printout"] so it looks nice. There are a bunch of formulas, and every ...
8
votes
1answer
104 views

Iterator variable not blocked in ParametricPlot

Bug introduced in 10.0 and persisting through 10.2 or later It appears that perhaps the iterator variable r is not Block-ed ...
0
votes
2answers
76 views

Question RE DiscreteMarkovProcess Graph Labels

I'm trying to label the arc's of my Markov chain with symbols like $\alpha$, $\beta$, etc., to show how the Markov chain looks abstractly. So, I did this... ...
4
votes
2answers
292 views

ArcTan[x,y] problems

I need an ArcTan[x,y] function that is continuous in (0,2 π) For the standard ArcTan function: ...
0
votes
2answers
94 views

How to Fill ContourPlot

Given a contour plot such as function = Cos[c] + Cos[a] pltc = ContourPlot[function == 1/2, {a, 0, 4 Pi}, {c, 0, 4 Pi}]; How can I color the regions in which ...
-2
votes
1answer
120 views

Recreating in Mathematica a matrix created in Python [closed]

I need to recreate in Mathematica this matrix that I created in Python: ...
1
vote
1answer
210 views

Fixed colors for fixed values in contourplot legend

I am trying to make a contour plot of a gravitational potential, consisting of a sum og different potential.s. I would like to plot them separately with a BarLegend that has the same colors for the ...
3
votes
1answer
106 views

Strange Integrate messages / $RecursionLimit being ignored

Bug introduced in 10.1.0 and fixed in 10.2.0 The following behavior was observed in Mathematica 10.1 (Windows 64 bit) When attempting to evaluate the following integral, Mathematica outputs ...
0
votes
1answer
69 views

Plotting six chosen rows of a matrix

I have a matrix,W, whose dimension is n x n, each entry is a number. I need to plot only the values of six rows, namely those ...
1
vote
1answer
97 views

Why NDSolve cannot solve such a simple set of differential equations? [closed]

I want to solve a set of ODE like below, but Mathematica outputs nothing for this which greatly confused me. WHY? ...
4
votes
1answer
92 views

How to make a style for paragraphs with hanging indents

I am making slides with text. I created a style template, but I cannot see how to make a style for a hanging paragraph. Is there a way to do this?
0
votes
0answers
21 views

blank part in the contour plot [duplicate]

Why did my listcontourplot have some blank part like the below? I've checked that my data is in the range of [2.5, 4]. Is it because that it changes so fast??
0
votes
0answers
97 views

Solving Lagrangian (4 vars to solve for)

I'm a bit new to Mathematica, but here's what I've got: ...
4
votes
1answer
270 views

How to draw a tropical surface?

By definition, a tropical surface in $\mathbb R^3$ is the set of points $(x,y,z)$ where the maximum $f=\max(f_1,f_2,\dots,f_n)$ is attained at least twice, here $f_i$ stand for some linear functions ...
1
vote
1answer
86 views

Calculating a function repetitively without using a For loop

In my programme I have defined all these functions: ...
1
vote
0answers
51 views

How to preserve “itemize” format when converting mathematica notebook to a latex file?

When I convert a Mathematica notebook containing following cells with "itemize" format to a latex file these cells become raw text format like this: ...
2
votes
2answers
118 views

Is there the possibility to write many times a value in definite list of file1.nb?

The commands testData = RandomReal[{0, 1}, {1, 1}]; Export["C:\\Users\\Alex\\Desktop\\1\\file1.nb", testData]; write the “testData” (value generated by ...
1
vote
2answers
173 views

Complex numbers from two arrays with Real and Imaginary parts

I have two arrays, containing the real and imaginary parts of a list of complex numbers. Re = {{Re_number1},{Re_number2},...} Im = {Im_number1},{Im_number2},...} ...
1
vote
3answers
83 views

Fill an array, symmetric with respect to its centre

I want to create an array that must be symmetric with respect to the centre of it, as in the following example: 0 1 2 3 4 3 2 1 but, instead of having such ...
1
vote
1answer
154 views

Problem with using GraphicsColumn

I have three plots defined as: ...
0
votes
2answers
171 views

Drawing nodal lines of wave equation

I am new to Mathematica and I want to produce the following figure wich represents the nodal lines of wave equation. Can anyone help?
-3
votes
1answer
92 views

How to draw phase portrait graph for nine system of differential equations in mathematica? Can have a code for darwing this? [closed]

The differential equations for the transmission dynamics of HIV/AIDS are given as follows: ...
4
votes
2answers
215 views

Assumptions with patterns

I want that Mathematica assumes every symbol like Subscript[s,i] to be evaluate as a real and positive number. I have tried ...
0
votes
2answers
75 views

Integrating ODE's

I have: $$ m\frac{dV_y}{dt}=-k\cdot V_y-mg $$ where, $V_y$ is velocity in the $y$-direction. I have the initial condition Vy[0]=40 Sin[40 Degrees] and ...
0
votes
0answers
26 views

How do I get Mathematica to evaluate symbolic linear algebra [duplicate]

First of all, I am VERY new to Mathematica. That said...I have defined vectors as: e1=2x-y and e2=x+y (x and y are orthonormal). I also defined the dot products of x and y in Mathematica. I want to ...
0
votes
1answer
165 views

Finding gradient of equiangular (logarithmic) spiral

I encountered a problem in determining the gradient in cartesian coordinates (x,y) of a logarithmic spiral (or equi-angular spiral) profile. The log-spiral definintion is as shown below (similar to a ...
0
votes
2answers
54 views

string and subscript in label

...
1
vote
1answer
93 views

Complicated equation solving

I want to find the maximum point or optimal value $y$ of Rx1[y_, a_, b_]. ...
0
votes
0answers
94 views

Time series package in mathematica 9

Is the time series package already installed in Mathematica 9? I have already installed Mathematica. Do I need to install the time series package? If so, from where? or should i go for mathematica ...
0
votes
1answer
66 views

How can I perform this integration in Mathematica? [closed]

I am new to Mathematica. I want to find the integration of the following expression: $H(f)=T\left(\frac{sin(\pi f T)}{\pi f T}\right)^2$ Here, $T=1.127e-7$ I want to integrate this function for a ...
14
votes
1answer
1k views

How to Fold over lazy lists and over tasks, just as with Lists?

Many modern languages, such as Haskell, feature lazy lists, which can model infinite sequences of values, albeit synchronously. Lately, the reactive programming movement has shown that asynchronous ...
0
votes
0answers
28 views

ContourPlot looking choppy [duplicate]

I want to plot a simple curve, the bifolium (x^2+y^2)^2-yx^2=0. I entered n=1/2; ContourPlot[(x^2 + y^2)^2 - y x^2 == 0, {x, -n, n}, {y, -n, n}] into mathematica and got the plot which looks very ...
3
votes
1answer
58 views

listcontourplot on a sector of a circle [duplicate]

s = Import["Desktop/tension.xlsx"]; ListContourPlot[s, Contours -> 10, PlotLegends -> Automatic] In fact, it is a contour of a circular part from (2,0) ...
0
votes
0answers
154 views

Filling Piecewise Function leaves gaps [duplicate]

When I use the fill feature to shade the area between the curve and the x-axis, there is no fill when x=2. I don't understand how this is possible since the function is defined there. Any help to fill ...
0
votes
2answers
99 views

Problems solving/plotting a differential equation

I am trying the following: Plot[DSolve[{1220*x''[t] + 1000*x'[t] + 35600 x[t] + 4500*x[t]^3 + 2135 == 0, x[0] == 0, x'[0] == -5}, x, t], {t, 0, 10}] Could ...
1
vote
2answers
109 views

Filing matrix by bands [closed]

I need to fill a matrix, CSI, by taking elements from an array, inverse, which is the Inverse Fast Fourier Transform of an array ...
1
vote
1answer
94 views

How to Reap data from a ScheduledTask?

Here is an amusing little function mapped over a range just to iterate it. It ignores its argument and works entirely by side-effecting a global variable: ...
7
votes
1answer
187 views

Detecting nearly simultaneous WhenEvents in NDSolve

I am trying to solve a system of (many) coupled nonlinear ODEs. I need to decouple some of the equations (i.e. set the time derivatives of some of the dependent variables to zero) at various points in ...
2
votes
0answers
57 views

Update NumericalFunction in NDSolve

I have NDSolve` StateData from an NDSolve` ...
3
votes
1answer
216 views

Evaluating a numerical integration with infinity as limit

I am trying to evaluate a numerical integration (to get an expression of the constant Ω) Suppose that h[x_] := 1/(1 + a x^2) ...
1
vote
1answer
187 views

Make continuous 3D tube out of 2D image (Mathematica 8) [duplicate]

I have the following image with transparency: which I want to paste repeatedly into a 3D space to make it like a tube, something like this (but denser): I tried using the code from here but it ...

15 30 50 per page