0
votes
1answer
54 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
197 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
252 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
180 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
172 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
62 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: ...
0
votes
0answers
39 views

NIntegrate with a parameter in integrand and upper limit [closed]

I want to evaluate NIntegrate[f(x, p), {x, 0, xmax}], where xmax = FindRoot[g(t, p), {t, 1}], and plot the result as a function ...
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
52 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
118 views

Plot3D unable to understand input function

I'm attempting to plot the Wigner Function of the Morse Oscillator defined as ...
0
votes
1answer
26 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
36 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
171 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 ...
9
votes
2answers
95 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
90 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
116 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
35 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
31 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
334 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
50 views

How to speed up recursive compiled functions?

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

Slow work of TimeSeriesWindow

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

Dataset Mathematica 10.0

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

Manipulate Discrete Values Labelling

I have 3 lists of plots (generated in other code), rawplots, weightplots,linearizedplots. ...
1
vote
4answers
85 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
291 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
84 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
59 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} ...
2
votes
2answers
99 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 ...
0
votes
0answers
24 views

How should I state the interval of the variable? [closed]

I have a very complicate equation that consist of 4 variables: x,y,z,w. Now I want set this equation to zero, and solve its roots in terms of x: that is, f(x,y,z,w)=0, solve it in terms of x. ...
1
vote
0answers
92 views

Opacity limitations?

Trying to make a better-looking globe model, I start off with something like this To enhance the 3D effect, I want the lines further from the eye to be "grayer" than the lines closer to the eye, as ...
3
votes
1answer
43 views

How to return a string from LibraryLink?

I need to return a string from a LibraryLink function. The documentation states: When a string is returned as a result, the Wolfram Language accesses the memory to convert it to its own internal ...
2
votes
3answers
128 views

How to display the indices/element positions of a ragged array?

I have a three-level ragged array like so: ...
0
votes
1answer
34 views

How to refuse close de Dialog when press Enter Key

As you can see in the documentation of CreateDialog In dialogs created with CreateDialog, pressing Return is effectively equivalent to clicking the ...
1
vote
1answer
38 views

How to use a self-defined function in the Manipulate function

This is what I want Manipulate[ Plot[ Which[h < a, 1 - 1.5 h/a + 0.5 (h/a)^3, h >= a, 0], {h, 0, 8}], {a, 5, 10}] Is it possible to rewrite it ...
-1
votes
0answers
11 views
1
vote
0answers
50 views

Speeding up NDSolve for system of differential equations

I am wondering if there is a way to speed up this function that solves a system of ordinary differential equations with NDSolve? Thus far I've tried specifying a few different methods such as LSODA, ...
0
votes
0answers
48 views

No real number fitting double exponential in Mathematica

I am trying to fit a double exponential curve to my data, but I got the error saying there are non real number. Also I tried with starting values for my 4 parameters, but this does not work either. ...
0
votes
0answers
70 views

Dynamic content Aborts in Mathematica 10

I have written a notebook in v9 that contains dynamic content (a Manipulate). I just downloaded V10. If I double click on the notebook, of course it is opened by ...
4
votes
0answers
52 views

Possible bug: SparseArray Part assignment loses default value?

This sure looks like a bug to me (Mathematica 10.0.0, MacOS): ...
2
votes
3answers
89 views

Plot least squares curve on Linear Log Plot

I have the following Data: ...
0
votes
0answers
29 views

Getting NIntegrate::inumr: from NIntegrate [closed]

I tried to numerically calculate the following integral: ...
11
votes
1answer
168 views

BarLegend changes in Version 10

Apparently, BarLegend in version 10 displays tick legends in scientific notation when they are smaller in magnitude than 0.01. For instance, ...
0
votes
0answers
33 views

Shared variable impacting speed? [duplicate]

I am using a shared variable as a progress indicator ( via SetSharedVariable[counter] and then Dynamic[counter]), to keep track ...
3
votes
1answer
117 views

How to create a real-time dashboard in Mathematica?

I am trying to figure out how to use Mathematica as a real-time interface. I've used Excel/ODBC connection to a SQL database to use the graphing functions within to get my real-time dashboard. I ...
3
votes
1answer
51 views

Set number of columns in text-based interface

Is it possible to set the number of columns in Mathematica's text-based interface? Or disable word wrapping in the text-based interface ? Specifically, my concern is output from ...
2
votes
0answers
39 views

Why do EstimatedDistribution and DistributionFitTest work this way

I am fitting some time-series data to both a stable distribution and a normal distribution in order to assess the goodness of fit of each. Along the way I encountered the following confusing result. ...
5
votes
1answer
95 views

How to get the list of notebooks that are automatically opened when Mathematica starts?

How to get the list of notebooks that are automatically opened when Mathematica starts programmatically? I know a tedious approach is opening option inspector and finding and copying the list out.
0
votes
1answer
34 views

Timing enclosed by Manipulate not working [closed]

Manipulate[Timing[Show[somegraphs[[1 ;; i]]]], {i, 1, 500, 1}] (in Mathematica 8) This is the last line of my function f[x_]:= Module[....]. I am trying to combine a list of graphs into a single ...
1
vote
2answers
104 views

How do I plot points on a sphere using spherical coordinates?

Currently, I have a matrix containing a list of spherical coordinates. Column 1 is r; r=1 for all points. Column 2 is theta and column 3 is phi. Each row is an ordered triple (r,theta,phi). Is there a ...

15 30 50 per page