4
votes
1answer
148 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
2
votes
2answers
173 views

A Query using Select and Quiet fails but Select by itself works

This is closely related to the question here, the key difference is that here data is structured as nested Association rather than a flat list: ...
7
votes
1answer
119 views

Causes “libGL error: failed to load driver: swrast” an Huge Overhead in Parallel under Version 10.3?

Under Linux (SUSE Linux Enterprise 11) for Mathematica Version 10.2/10.3 I observe the following error in parallel ...
2
votes
1answer
170 views

Strange WhenEvent Behavior

Bug introduced in 10.3 or earlier and persisting through 10.3.1 or later Given: ...
2
votes
0answers
54 views

NDeigensystem returns error due to mesh discretization when calculating vibrations of a cantilever

There was an transcription error in the code I provided in a previous post: NDeigensystem returns complex non-hermitian error for the calculation of vibrations of a cantilever This resulted in it ...
3
votes
1answer
55 views

How to access a web API with HTTP POST and JSON

I want to get data using HTTPS from POST https://developers.betfair.com/api.betfair.com/exchange/betting/json-rpc/v1 HTTP/1.1 using JSON ...
4
votes
2answers
162 views

How to draw a moving point with time?

I am new to Mathematica. Try to draw a point moving with time. Like at t=0, a point is at p1(coordinates are random numbers); at t=1, this point is at p2. And there is always ONE point on the graph. ...
3
votes
1answer
116 views

I want to compute the derivative of Black and Scholes option

Good evening to everybody, my question is about computing the derivative of a Black and Scholes option and to draw it. My code is ...
1
vote
1answer
92 views

NDSolve memory usage

I am trying to solve numerically a system of linear ODEs with some quickly varying driving functions. The basic command is: ...
2
votes
1answer
67 views

How to solve two ODE differential equations, numerically, with four dependent boundary condition

I have two ODE differential equations(DE) and four dependent B.C. $$y_1''(x)=-\frac{1}{2} \left(x-y_1(x)\right)$$ $$y_2''(y)=-\frac{1}{4} \left(y-y_2(y)-5\right)$$ $$y_1(0)=y_2(1)$$ $$y_1(1)=y_2(0)$$ ...
2
votes
1answer
89 views

Automatic text-wrapping in labels in `TimelinePlot`

Part-related to this question and part-related to this one, I would like to make use of the new features of TimelinePlot in 10.3, but would like to incorporate some ...
1
vote
1answer
72 views

Tooltip in Prolog and Epilog

I have a question concerning Tooltip. I got a ParametricPlot and included two pictures and a dynamic point. I try to use Tooltip for each of those 2 Objects. But it doesn't work. I am not quite sure, ...
3
votes
1answer
166 views

DiscretizeRegion on Raspberry Pi 2

Running DiscretizeRegion@Cuboid[] from the documentation under Raspbian on the Raspberry Pi 2, Mathematica version 10.0.0.0, gives the following response: ...
1
vote
1answer
47 views

Factor a polynomial Root into Roots of smallest possible degree

Suppose I have a polynomial Root representing an algebraic number. I want to represent it (if possible) as a product of several polynomial ...
1
vote
1answer
62 views

Fitting bivariate data using FindFit [on hold]

I am trying to fit the following bivariate data set using the FindFit function: ...
1
vote
1answer
30 views

Trying to get simple excel data to be imported as a social network directed graph

My data has two columns that we'll call A and B. The columns proceed as such A B A1 B1 A2 B2 A3 B3 .... I'm trying to make this into a directed graph where A1 has an outgoing edge to B1 and ...
41
votes
5answers
4k views

Are there any cases when For[] loops are reasonable?

To my mind the only reason for the existence of For[] loops in Mathematica is to allow new users with some experience in procedural programming languages to write ...
1
vote
3answers
61 views

How to make a list (of data points) whose name is the same as the file name from which the data is imported [duplicate]

I have a set of files, e.g. file1.dat, file2.dat,... containing data (list of data points to plot, manipulate...) I want to do the following ...
2
votes
0answers
42 views

How can I convert some data in TableForm to a list form like as {{0,1}, {1,2},{…,…},…,{m,n}}? [on hold]

How can I convert some data in TableForm to a list form like as So, I have some data there I take from laboratory, but the data has a TableForm 0.0 0.2174 1e-06 0.2178 2e-06 0.2172 3e-06 ...
2
votes
0answers
42 views

Identity Matrix in symbolic Tensor Product

I am trying to simplify symbolic tensor products. E.g. ...
0
votes
0answers
56 views

Mathematica 10.3 with repeating block [duplicate]

I've written a template notebook that include repeating blocks with Mathematica 10.2.0.0. Everything work well, but after updating Mathematica to the last version (10.3.1.0) I get an error when I try ...
3
votes
1answer
374 views

How can I invoke the solution of NDSolve to determine a parameter in my equation just inside NDSlove?

I am trying to solve a differential equation by NDSlove for $h(x,t)$. It reads $$h_t=h_{xx}-V_h-\lambda(t)$$ where $V_h$ is a given function of $h(x,t)$ denoted by ...
4
votes
1answer
79 views
1
vote
1answer
78 views

Double arguments and place of the underscore

Could someone explain me of this bit of code below is correct: Is it possible to define a function with a second bracket, see below, i.e. f[x_][y_]? And what does ...
1
vote
2answers
41 views

Random bipartite graphs?

RandomGraph[{n,m}] generates a random graph with $n$ vertices and $m$ edges. I want to generate a random bipartite graph, like ...
2
votes
0answers
47 views

Pattern Matching and overloading NonCommutativeMultiply

My goal right now is to implement some rules like linearity etc for noncommuting operators (arbitrary matrices etc). This is partly an exercise for me to understand MMA better so giving me a package ...
-5
votes
0answers
42 views

Conditionals within For Loops [on hold]

The following construct: For[i = 1, i <= Length[a], i++, a[[i]]? If[b[[i]] == a[[i]], p1++, p2++]: If[b[[i]] == a[[i]], p3++, p4++]]; yields the ...
2
votes
1answer
67 views

Problems with QueueingNetworkProcess [closed]

I have a two stage queueing network and want to vary the number of servers at the second node. The input data and the Manipulate command is below: ...
4
votes
1answer
70 views

Image3D does not give the distinctive blurry look, version 10 Linux

The help file for Image3D shows two examples, But when I try to execute this code on my system ("10.3.1 for Linux x86 (64-bit) (December 8, 2015)") I get the ...
16
votes
2answers
476 views

Cluster a signal into areas of equal intensity

Introduction I have a greyscale photograph that I want to partition into areas of equal intensity. This means, that the integral over each partition should be (roughly) equal. There is no unique ...
3
votes
3answers
327 views

Postfix with two arguments

This must be duplicate but can't find any related post. I'm want to pas it two argument in postfix like f[a_,b_]:=a+b; 1,2//f ...
7
votes
1answer
232 views

How to modify tick's range in Image3D

Suppose we have an array of color data ...
0
votes
0answers
41 views

Find the height(h) of a Circular segment based on Radius and Length(c) [on hold]

I have found the formula for calculating the R of a circle, based on a circular segment, which is; R=h/2+c^2/(8h) Where, R is ...
0
votes
0answers
43 views

Suddenly all outputs begins with a newline… What to do? [on hold]

I am almost sure nobody has yet asked this question, which is strange, because it concerns a tiny but annoying glitch. Now and then, out of the blue, all output cells are starting with a newline. I ...
1
vote
1answer
47 views

Timing and ListPlot

I am currently trying to examine the Timing function as it relates to generating primes and factorize large integers. What I want to do is to visualize how time ...
3
votes
0answers
33 views

Install hangs for precompiled Cuba integration executable

I am trying to use the Cuba integration package in Mathematica 10.2 on a Windows 10 machine. However, having downloaded the supplied Vegas.exe MathLink executable, when I try running ...
0
votes
0answers
54 views

How to define an exclusion zone for NDSolve

I need to numerically integrate a differential equation and define two exclusion zones to stop the integration. The Mathematica code looks like this : ...
6
votes
0answers
64 views

RandomPoint works with a 2D ImplicitRegion but fails for any higher dimension

This is inspired by this answer which features code that I cannot get to work at all, and I tried to figure out why. It boils down to using the function ...
11
votes
3answers
461 views

Using NDSolve to find particle trajectory

I'm trying to simulate a particle in an electric and magnetic fields, but numerically instead of analytically. This is basically solving the equation $$q \cdot \left(p'\times B\right) + q\cdot E = m ...
3
votes
0answers
63 views

Low accuracy while solving a multi-variable equation numerically

My question is as following: I was trying to make a function Vs2[r] with two parameters fit a set of conditions. Vs2[r]: ...
0
votes
2answers
67 views

How to plot in the complex plane? [duplicate]

I am new to Mathematica and I would like to ask how to plot in the complex plane in general. Also, as an example, how do you plot $e^{i\theta}$ in Mathematica? In physics the function $e^{i\theta}$ is ...
5
votes
1answer
48 views
5
votes
1answer
90 views

Statistical measures of a function of a 2D matrix of random variables

Im new to Mathematica, and I have been searching online without success an answer to what should be an easy question. I want to define a function $f$ on, say, $n$ independent random variables and ...
17
votes
4answers
557 views

LogPlot axes labels destroyed when working in high precision

Bug introduced in 7.0 or earlier and persisting through 10.3.1 or later (I'm using Mathematica 8.) I have a Taylor series: ...
0
votes
1answer
48 views

Using Solve with Mod [on hold]

I'm new to Mathematica, and it seems like what I'm doing should be a simple operation, but I can't seem to get it to work, or return the right result. I'm assuming I'm doing something fundamentally ...
1
vote
1answer
45 views
21
votes
2answers
2k views

Generating convex polyhedron from face planes?

Suppose I have lists of normals and points for planes. There's a convex polyhedron whose faces lie on these planes and are bounded by plane intersections. What would be the easiest way to produce an ...
14
votes
2answers
4k views

CDF plugin no longer launches in Chrome

I exported a web-embeddable CDF, and created an html page with the automatically generated code. Both are in a local folder. When I open the HTML page in a Chrome browser, i get the PNG image telling ...
-3
votes
1answer
79 views

How to symbolically integrate 2D exponential function? [duplicate]

Is it possible to symbolically solve a 2D integral of the following form $$\int d \vec{r}e^{-\frac{\left| \vec{r} - \vec{r}' \right|^2}{2c}}e^{-i \vec{k} \cdot \vec{r}} $$ where $\vec{r} = (x,y)$ and ...

15 30 50 per page