0
votes
0answers
45 views

Marking certain detected points on an image [duplicate]

I have an image in which I had to detect bifurcation points of vessels. I manage to do that and now I have an image where these bifurcation points are 1 while all others are zero. What I want to is ...
1
vote
0answers
19 views

LegendLayout not working as asked [duplicate]

Why the following code does not result in row layout as specified (see the attached picture for result)? ...
5
votes
1answer
108 views

Converting structured data to a dataset

A Dataset seems perfect to represent structured data. Has anyone already thought about how to convert as efficiently/elegantly as possible an XML or JSON file to a Dataset in Mathematica 10 ?
1
vote
2answers
67 views

How to widen PlotLegends?

I have a plot whose legend, when placed at the bottom, is two lines rather than one: ...
0
votes
0answers
25 views

Calculating Muliti-integral Time-Ordering operator [migrated]

I am trying to solve the time-ordering operator Like this: $S(t)=\mathcal{T}e^{\int_0^tduA(u)\int_0^udvB(v)}S(0)$. How can I calculate S(t) with minimum error?
6
votes
1answer
87 views

Can't plot rotated region

I was experimenting with the code from this question when I ran into another problem with regions. ...
2
votes
0answers
71 views

How to transform frame ticks from 1, 2, 3, … to x, 2 x, 3 x, …?

I want to replace the numbers on a framed plot's axes with that number multiplied by a variable, call it x. (The idea is that I'm plotting things which depend on ...
19
votes
3answers
555 views

DeleteDuplicatesBy is not performing as I'd hoped. Am I missing something?

Déjà vu: a new-in-v10 function should provide a better solution to an old problem, but my enthusiasm is curbed when I run timings. This time the function is ...
2
votes
2answers
132 views

A problem about function N [duplicate]

Toady,I have a problem about N,described as below: For example N[1/3, 5] (* ==> 0.33333*) and ...
0
votes
1answer
20 views

Interactively Manipulate SparseArrays or Lists

I'd love to use SparseArrayor List to group a set of parameters together in a function. ...
2
votes
0answers
63 views

Excluding region with `RegionDifference`

I can't make RegionDifference work for two Rectangle: ...
1
vote
0answers
120 views

How to define two polyhedron intersect or not?

Recently I have used Mathematica to simulate the concrete structure. The most important point is generate random concrete aggregate. As you know, concrete aggregate can be looked as a polyhedron. We ...
1
vote
1answer
73 views

Two discrete colors for surface with ParametricPlot3D

I am trying to create a plot of a surface that is yellow above the xy-plane (z>0), but blue below (z<0). My first attempt was to use ...
8
votes
1answer
128 views

Why doesn't repeated PatternSequence work with explicit pattern names?

Why would this work: Clear[f] f[a : PatternSequence[b_, c_]] := {a}; f[1, 2] (* {1, 2} *) and this also works: ...
2
votes
1answer
69 views

How to program a clickPanel for chemical elements (like a periodic table)?

The command ColorData["Atoms", "Panel"] indicates RGBColors of "Atoms" by clicking a panel. As I don't want to reinvent the wheel, I asked myself: How to ...
0
votes
0answers
26 views

Radius Values not Displaying in (List)PolarPlot

I'm having troubles with the PolarAxes option in ListPolarPlot under Mathematica 8.0. To be more specific, when I run the ...
2
votes
1answer
109 views

How to draw timing diagram from a 0 and 1 string list (2)

I like ubpdqn's last edition & Mr Wizard's refactoring to my last question very much. I inserted two Reverse just to make the diagrams and the strings match in ...
0
votes
1answer
61 views

multiple generators for iterative construction of fractal

The code below is an attempt to use more than one generator (in this case two) to generate a fractal using the standard iterative procedure involving generators. Only the first two stages of the ...
0
votes
0answers
217 views

Checking Calogero-Moser eigenfunction [closed]

I have a Calogero-Moser differential operator $H=\sum_{i=1}^3\frac{\partial^2}{\partial ...
1
vote
2answers
61 views

How to define range for Manipulate using exponents

I have a function: f[x_,y_] = x*y // ScientificForm; Manipulate[f[x,y], {x, 10^-1, 10^-10}, {y, 0.01, 1, 0.01}] When I try to execute it - it does work. However ...
5
votes
1answer
110 views

Gnome wants to kill Mathematica 10 during selection

I am using Linux (CentOS, Gnome 3.8.4) and I suspect this is an OS dependent problem. When I input some text, and use mouse to select the text as follows: First press the mouse left button, keep ...
0
votes
1answer
55 views

Differentiation of Vector Equation

Is it possible to get symbolic derivatives of equations with vectors as arguments without specifying every vector element explicitly. Something like ...
7
votes
1answer
202 views

How can I extract the outline of bubbles in my image?

I have an image: I tried to extract the outline of the bubbles, but I met with some problems. Firstly I tried the method used in Mathematica documentation for ...
15
votes
1answer
257 views

Why does ImportString[“1c”, “Table”] eat the letter c?

I have some whitespace-separated matrix data that I read with Import[..., "Table"]. The data contained mixed strings and numbers (the strings are for row and ...
2
votes
1answer
188 views

Game of Life in 3D

Is there a three-dimensional cellular automaton that in some sense generalizes Conway's Game of Life? If so, how might we use the CellularAutomaton command to ...
7
votes
2answers
173 views

sudden increase in timing when summing over 250 entries

Using math 9.0.1 on a MacBook Air, I see a sudden increase of Timing by a factor of thousands when I sum over 250 elements of a matrix rather than over 249. So for ...
0
votes
0answers
64 views

NMinimize gives an obvious wrong value

I'm trying to minimize a function of 2 lists of the same lenght, but for now the first list has one element, the second is constant. Essentialy, this baffles me: ...
2
votes
1answer
87 views

How to put labels on a 3d plot

I'm close, but I'm stuck. Here's my code so far: ...
1
vote
1answer
54 views

How would one minimize with respect to an unknown number of variables?

Say I had a function like the following: f[n_] := Sum[a + Subscript[b, k], {k, 0, n}] Such that ...
0
votes
1answer
119 views

Plot3D unable to understand input function

I'm attempting to plot the Wigner Function of the Morse Oscillator defined as ...
0
votes
1answer
28 views

FrameTicks puts tick markers on both sides of plot? [closed]

I have a framed plot and I want to use Ticks to create customized tick marks, along the lines of ...
1
vote
1answer
37 views

Integers in Range have trailing decimal - how to remove?

I want to create a list like {0,0.2x,0.4x,0.6x,0.8x,1} If I try Range[0, 1, 0.2] x what I get is ...
6
votes
3answers
175 views

Should DSolve always return solution with constant of integration?

Version 10.0 Clear[y,x]; DSolve[D[y[x], x] - y[x]^2 + y[x]*Sin[x] - Cos[x] == 0, y[x], x, GeneratedParameters -> C] or ...
10
votes
2answers
105 views

Strange Behavior in Barchart LabelingFunction

BarChart formatting algorithm make me loose some time today in V10. Now, LabelingFunction do not work beyond some number of Labels. See example: ...
2
votes
2answers
96 views

How to get axes labels with PlotTheme->“Scientific”?

I'm liking the new plot themes in Mathematica 10, but finding that I can't override the options it sets. For example, ...
1
vote
3answers
118 views

What is the order of faces on a D20? How can I optimize the order of faces on a D-n?

I am creating a customizable D20 for 3D printing using OpenSCAD, with the following code: ...
0
votes
0answers
53 views

deleteduplicates Delete elements of a list [duplicate]

I have a math problem about Mathematica, I am looking help from you. I hope that you could help me. The Math Problem: list= { {0,0,1},{1,0,0},{0,1,0} ,{1,2,3}}; ...
2
votes
2answers
37 views

How to further process a 2 dimensional list created with tuples

I created with Tuples[{{USD, EUR, JPY}, {UP, DOWN}}] the following result: ...
1
vote
1answer
32 views

Transforming a CopulaDistribution only works with the Product Copula

What I want to do: 1) Define a joint distribution function using CopulaDistribution 2) then transform it with TransformedDistribution 3) to get the new Culmulative Distribution Function (CDF). The ...
5
votes
1answer
338 views

How can I plot a Chebyshev spiral?

The Chebyshev polynomials T_n of the first kind are a certain set of orthogonal polynomials. They can be defined by T_n(cos(x))=cos(nx), the first of them are T_0(x) = 1 T_1(x) = x T_2(x) = ...
1
vote
2answers
57 views

How to speed up recursive compiled functions?

I'm trying to speed up the recursive function that calculates Rotation numbers: ...
3
votes
2answers
89 views

Slow work of TimeSeriesWindow

I have financial data (list of time-values pairs). There are more than 13000 elements. ...
1
vote
0answers
127 views

Dataset Mathematica 10.0

I started to use the new funcationality 'Dataset'in Mathematica 10.0. ...
0
votes
1answer
27 views

Manipulate Discrete Values Labelling

I have 3 lists of plots (generated in other code), rawplots, weightplots,linearizedplots. ...
2
votes
4answers
89 views

How to plot a graph from it's incidence matrix?

I'm using Mathematica v9 and am trying to draw a graph by using it's incidence graph, but it won't draw it, which occurs an error "is not a valid incidence matrix.". But I've checked my matrix, and ...
7
votes
4answers
292 views

Computing the average over the values of the boxes surrounding a box in a grid

Recenty,I encounter a problem described as below: I have a table that owns many boxes,and each box has a sequence like 1,2,3,4,etc.In addition,every box has a value. Now I want to make the ...
1
vote
1answer
86 views

Generating and plotting hypocycloids [closed]

Hypocycloids are curves generated by following a fixed point on a smaller circle rolling around the inside of a larger circle. The following code is from the recent book of P. Wellin (with modified ...
3
votes
1answer
63 views

Factoring a differential equation into an operator product

Following the fundamental theorem of algebra, I can (as stated here in Sec. 1.1.4) factor an $n$th-order linear ordinary differential equation $$ a_n \frac{d^n x}{dt^n} + a_{n-1} \frac{d^{n-1} ...
3
votes
2answers
105 views

Harmonious graph labeling

Is it possible to harmoniously label a graph in Mathematica? I would like a function, that when given a graph, would return a harmonious labeling. If not, is there other software that can do it? A ...

15 30 50 per page