3
votes
0answers
76 views

Why do PopupMenus render inconsistently on Macs?

This has been bugging me for years but because it doesn't effect performance I've never got around to asking. The problem below occurs for me in V8, 9, 10 with OS X 10.8, 10.9 and 10.10. I've tested ...
5
votes
1answer
65 views

How to export Speak output?

I made a series of interval workouts based on Speak[], where the voice tells me when the intervals start, when they stop and how much time I have left to prepare. ...
0
votes
1answer
68 views

Calling C++ from Mathematica Mac OS X

I am trying to call and run the C++ code at the bottom of this post which must be stored in a file called poissonvariate.cpp. I am getting the following error message which I will display here before ...
19
votes
6answers
1k views
1
vote
0answers
58 views

Import a web page with $\LaTeX$ code including images (png or other)

To be brief; I would like to import a web page, so I use Import["http://fabricebaudoin.wordpress.com/2012/10/25/lecture-32-the-malliavin-derivative/"]; which ...
18
votes
5answers
1k views

Managing formatted usage messages in Wolfram Workbench

We have numerous packages (defined in .m files) that we maintain and develop in WolframWorkbench (2.0), and in those packages, we use the traditional method of ...
1
vote
0answers
36 views

Creating Identification/Classification trees

I have data given in following format; from which I need to create identification/classification trees (three different trees from three different criterion, that is average disorder, gain ratio and ...
6
votes
2answers
145 views

There is an issue with Manipulate in which it updates its argument twice in V10

I have asked this question before (here) and I thought that the issue is only when moving the Notebook window. It appears that Manipulate is working in weird manner. ...
13
votes
2answers
509 views

PlotMarkers problem in ErrorListPlot, Mathematica 10

Bug introduced in 10.0.0 I recently upgraded to Mathematica 10, very excited about the multiple undo function of course. However I very quickly noticed that if I specify a setting for ...
2
votes
2answers
88 views

WorkingPrecision causes issue in the NIntegrate

I really can't figure out why my code sometimes is not working. My integrals involve two variables (k and kz). The integration ...
1
vote
0answers
24 views

Successive addition or deletion of vertices (or edges) in graph

I am trying to perform a kind of dynamic graph simulation where vertices and edges of graph are added and deleted according to the current state of the graph at each time step. I know that there are ...
0
votes
1answer
59 views

WSMModelData Error

I am getting this error message when I run simulation in Mathematica that makes iterations to a SystemModeler model. ...
0
votes
0answers
21 views

PolynomialMod: Unexpected results

Executing PolynomialMod[(X - 1) (X^3 + 2) (X^2 + 1), 2 - 2 X] 0 But ...
0
votes
1answer
55 views

Problem in evaluation of a solution and plotting

I've written out a code which solves a equation and uses this solution to find "ph". ...
0
votes
0answers
23 views

GeoLabels/Tooltips in Geographic Plots from Dataset

I am looking to plot a list of list of regions, and attach some data to the GeoLabel. All the data is stored right now in a Dataset that contains entries of the form ...
7
votes
0answers
81 views

How can I define or use a new coordinate system in Mathematica?

I want to use the dipole coordinate system as defined in this paper: http://arxiv.org/abs/physics/0606044 I see that Mathematica can do all kinds of vector analysis using different kinds of ...
0
votes
0answers
40 views

Why does Mathematica not restrict the domains of Rational Expressions?

As taught in High School Mathematics: $$\begin{array}{ccl} \left\{ {(x-3)(x+3)\over 5(x+3)} : \ x\ne -3 \right\} & \ne & \left\{ {x-3\over 5} : \ x\in\mathbb{R} \right\} \\ \left\{ ...
1
vote
1answer
52 views

Piecewise ColorFunction for Plot3D

I want to make a 3D plot where the ColorFunction is different depending on whether the function value is positive or negative. I know how to do the following: ...
7
votes
1answer
206 views

Error in infinite sum

The binary weight of the non negative integer k is defined by w[k_] := Total[IntegerDigits[k, 2]] The first values are (cf. http://oeis.org/ A000120) ...
6
votes
1answer
150 views

Prevent Export from overwriting files

Export["filepath1",Expression1] works for me, but if filepath1 already exists, it will be overwritten. I'd like ...
2
votes
1answer
199 views
0
votes
1answer
39 views

Numerical integration of a three dimensional array

I need to integrate a scalar valued function $f\left(\boldsymbol{x}\right)$ where $\boldsymbol{x}$ is a three dimensional position vector; in other words: $\int_{\Omega} f\left(\boldsymbol{x}\right) ...
1
vote
2answers
61 views

Creating histograms with specified mean and intervals

I have a set of data that I want to create a histogram for. The thing is, I would like to set the center of the histogram to the mean of the dataset and the intervals to be the standard deviation. How ...
0
votes
0answers
59 views

Dynamically update a graphic object in Mathematica

I was trying to simulate a bouncing ball (with no gravity) in a unit box and I managed to come up with a solution: ...
9
votes
1answer
258 views

Is there a function to generate a minimal clique cover?

This is a graph problem known as the "Clique Edge Cover" or "Intersection Number" problem, and the goal is to find, from a given graph like $E=\{\{a,b\},\{a,c\},\{b,c\},\{b,d\},\{c,d\}\}$ and ...
18
votes
3answers
713 views

Can someone explain this snippet: (#[#] &)[#[#][#] &]

A friend showed me this snippet of code today: (#[#] &)[#[#][#] &] I can sort of see that we're constructing an anonymous function that takes a function ...
1
vote
1answer
54 views

Extracting out the Fourier modes of a series, and using these to reconstruct data series

I would like to extract the most important frequency modes from a data set which exhibits strong annual periodicity, as well as some (less) important shorter-term frequency components. The following ...
0
votes
0answers
35 views

Automatic measurement of components in a picture

I have a tricky problem, with which I'm stuck just after a few steps. I have the following picture of a slice of the brain. I want to detect all the named structures and measure the area of those ...
4
votes
1answer
87 views

Opacity and Plot

I have the following function : Plot[-2Cos[ Sqrt[50]/2 Sin[theta]] - 2, {theta, 0, Pi/2}, PlotStyle -> Opacity[0.5], AxesLabel -> {θ, E[θ]}] My ...
1
vote
2answers
79 views

Coloring a map of GeoRegions

I know that I can plot multiple GeoGraphics results on the same map by using something like Show[Graphics@@p1, Graphics@@p2], but it doesn't really work (seems to ...
1
vote
0answers
70 views

FullSimplify missing trivial rewrite

I'm trying to understand why Mathematica fails to find the Stirling numbers in the second sum below: ...
3
votes
1answer
47 views

Documentation on GeoGridPosition

Wondering where I can find more documentation on GeoGridPosition. Specifically, what formulas does Mathematica use to transform lat/long points to x/y coordinates? ...
2
votes
2answers
168 views

How can I get Histogram to show the number of elements in its bins?

I'm just using Histogram[data, 50]. All the examples on the Histogram help page show show the number of elements when the cursor ...
2
votes
0answers
39 views

Getting error messages from a Plot expression containing an integral [on hold]

This should be a really simple question, but I just got confused. Plot[Integrate[x, x], {x, -5, 5}] Integrate::ilim: Invalid integration variable or limit(s) ...
0
votes
0answers
23 views
0
votes
0answers
56 views

How to control the frequency range of Spectrogram?

How do you control the frequency range of Spectrogram? There is no obvious option. The documentation says it uses the same options as ArrayPlot, but PlotRange does not work in the way expected (it is ...
0
votes
0answers
40 views

probability - a chess problem [closed]

Question has been moved to http://math.stackexchange.com/questions/1162943/probability-a-chess-problem The question is from: edx -> 6.0.41 -> unit2 -> solved problem -> A chess tournament problem, as ...
21
votes
3answers
476 views

Can Mathematica solve Plateau's problem (finding a minimal surface with specified boundary)?

Given a closed curve $\mathcal C$ in three dimensions, is it possible to use Mathematica's built-in functionality to compute a minimal surface whose boundary is $\mathcal C$? For simplicity, let us ...
1
vote
1answer
127 views
0
votes
0answers
18 views

handling the logistics function [closed]

I have the problem, I have to handle the logistics function at two points. That is my initial and final cordenas cordenas. But do not know how to apply that formula. As would be the formula for this ...
2
votes
3answers
77 views

How to make a symbolic vector into a pure function?

As part of a set of functions to implement a steepest descent algorithm I created my own n dimensional gradient function. It is defined as follows: ...
11
votes
3answers
1k views

Can Mathematica's random number generation be improved?

Performance on Random Number generation is intolerable. Whenever you need many deviates from the same distribution but with different parameters it takes forever. Here is a thread on Poisson ...
3
votes
1answer
90 views

Running PowerShell commands in Mathamatica

I'm trying to execute a PowerShell command using Mathematica. Someone has made it before? I tested my command direct in PowerShell, and it worked nice, but no ideia on how can I make Mathematica to ...
3
votes
1answer
82 views

Dot in place of prime to denote differentiation

To denote differentiation with respect to time I wish to use overhead dots rather than primes, so that differential expressions will look somewhat like this: $\quad \quad$ ...
0
votes
0answers
38 views

Find how many arguments a function has [closed]

I have a function that makes a pure function version of the gradient. It has two inputs, the function and the size of the gradient you want to take. ...
2
votes
2answers
89 views

Inverse of Times->Sequence

Suppose there is a list list={abc} then the replacement Times->Sequence gives ...
0
votes
1answer
117 views

Issue with Set function

Tables often come with column headers. Indexing the columns with the header is a natural thing to do. Although a proper dictionary is the usual solution in such a case, I find it often practical and ...
2
votes
2answers
52 views

Math diacritics go missing when exporting graphics

Take this example plot: plot = Plot[x, {x, -1, 1}, Frame -> True, FrameLabel -> {"x", "\!\(\*OverscriptBox[\(x\), \(_\)]\)"}] When I export it to PDF, ...
3
votes
1answer
77 views

CUDA 6.5, Mathematica 10.0.2, and Ubuntu 14.04

I have CUDA 6.5 working fine on Ubuntu 14.04. Mathematica recognizes the driver (Nvidia 340), but CUDAQ[] returns False and I cannot get any CUDA functions to work in Mathematica. I have created ...

15 30 50 per page