# All Questions

179 views

### Generating an obstacle-avoiding closed-curve with a fixed perimeter and a target area

I was wondering if there was a neat way to solve the following problem in Mathematica v9 - Provided a binarized image (where we call black pixels "obstacles" or vice versa, whichever is most ...
104 views

### Strange NSum behavior

If I do: NSum[(i + 1)/(i + 2) LegendreP[i, 0] LegendreP[i, 0], {i, 0, Infinity}] I get: 1.25216 If I do: ...
194 views

### Markov Chain for combined events?

I was wondering how to apply Markov steady-state chains to a simple case in genetics, eye colour. Assuming the probabilities of being brown, green or blue eyed, given your parents were a certain ...
154 views

### How to batch run Mathematica code from Python?

I have this notebook: ...
181 views

### Method Shrinkwrap Messes up editting Graphics

If you try resizing or moving the Inset in the following interface, the Graphics becomes incredibly jerky and borderline ...
107 views

### Using data from multiple cameras

ImageCapture[] has an option Device-> for specifying which camera to use, but ...
120 views

### Force Dispatch to generate dispatch tables

Dispatch creates hash tables only for lists of length larger than 3. Is there any way to force MMA to create hash tables even for lists of length smaller than 4? ...
243 views

### Weird behaviour from ListSurfacePlot3D

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there. ...
90 views

### CCodeGenerate and calling external functions

Is it possible to use CCodeGenerate to generate code which calls functions from other C libraries? For example, I would like to do something like this: ...
554 views

### Curated data sometimes delivered in undefined units

This question may better go to Wolfram, but as it came up on the weekend, I thought I'd try here first. Take a look at the following: ...
90 views

### Finding the argument set for internal functions in Mathematica v9.0

I've recently run into a problem with importing TIF stacks in Mathematica: Slow import of multigigabyte TIF image stacks On the advice of Simon Woods and others, I've been looking into the behavior ...
250 views

### Use of RegionFunction with Graphics3D?

I'd like to plot in 3D a long list of polygons created with TetGenConvexHull, but only in regions specified by a function. Is that possible? As I have it my ...
131 views

### DownValues for Built-in Functions

N.B. I have bitten the bullet, and I am going through Leonid Shifrin's "Mathematica Programming: An Advanced Introduction." (Which needs no introduction in this forum) One question I have: could one ...
80 views

### Make all new cells have a specific style as a function of the Mathematica installation

I would like all new input and output cells, in fact all new cells including section headers and such, to have a specific stylistic property (...
54 views

### SiegelTheta fails to evaluate when given proper arguments

SiegelTheta often returns error messages when I give it arguments that should be of the correct form. For instance, I have a numerical matrix like ...
231 views

### Malliavin Derivative with Mathematica is it possible?

Is it possible to define a Malliavin calculus with Mathematica 9? Consider a random variables on the Wiener-space $\Omega=\mathcal{C}([0,1])$ of the form ...
77 views

### Duplex Printing from button inside DialogNotebook on Mac

All, I have the following code which generates a window containing the variable PrintOut and a Print button. When the print button is pressed the contents of the window are sent to the printer and ...
124 views

### Exporting multiple arrays in a single HDF5 file in Mathematica 7

I am using Mathematica 7 and I need to export a table of data and the corresponding x and y arrays. I would like to format them ...
154 views

### Trouble with Minimize

Minimize[{t^2, 1 == 3*t + 16*u}, {t, u}, Integers] It does not give the solution t = -5 and u = 1. Am I missing something? The solution being known and ...
159 views

### Use JavaScript to evaluate webMathematica tags?

In my HTML form I have 3 buttons. Each button calls different .mx files, based upon an .mx file data. ...
447 views

### How to split compound polygons into convex polygons?

Is it possible to split non-convex polygons into convex plygons with Mathematica 9? For example: ...
185 views

### Exporting Specific Cells of Many Workbooks into One using Mathematica

I currently have a large number of detailed files from which I would like to extract certain cells' information to make an Archive spreadsheet. There are approximately 9 parameters of each ...
65 views

...
112 views

### Eureqa Client to connect to Mathematica under Windows

Does there exist a way to use Eureqa software with Mathematica under Windows? That is, is there a working client to connect to a Eureqa server?
702 views

### Using NDSolve for Integro-Differential Equations

I have a fairly complicated set of coupled non-linear integro-differential equations that I am trying to solve using NDSolve. The equations are: ...
39 views

353 views

### How to make 3D object smooth?

This thread considers mathematical methods here to make the 3D object smooth but this question consider how to achieve the goal of smoothing a 3D object in Mathematica. I want to get smoother ...
133 views

### How to change Mathematica cursor globally?

I usually use my OS with negative colors (to keep my eyes calm...). I had seen a function called MouseAppearence that changes the cursor. I would like configure ...
167 views

### Does Mathematica support collaborative filtering and recommendation systems?

Does Mathematica support collaborative filtering and recommendation systems such as can be found in Apache Mahout? I could not find any resources about advanced data mining techniques, beyond ...
372 views

### A is fast, B is fast, but together they're Mathematica-crashing slow?

I'm trying to do something with finding solutions to a quantum mechanics problem with n wells. If there are 40 wells, I need to find the solution to an equation in the form: ...
129 views

### How to accelerate updating some parts of sparse matrices?

I am trying to update some parts of an specific matrix as rapidly as possible. In what follows, I first set up the basics things that I want to use ...
111 views

### How can I truncate only a single vertex of a polygon?

One can truncate all the vertices of a polygon at once with Truncate. I want to do exactly that -- but only on a single vertex. Is this possible with Mathematica 9? ...
147 views

### A triple sum related question

I'm trying to compute the triple sum Sum[1/(i! j! k! ), {i, 1, Infinity}, {j, i + 1, Infinity}, {k, j + 1, Infinity}] but Mathematica doesn't return any value. ...
94 views

### An recurrence equation that can be solved in version 7 but not in version 8

A friend of mine showed me this code sample: RSolve[{a[n] == a[n - 5] + 1, Sequence @@ Table[a[i] == 1, {i, 5}]}, a[n], n] // Timing It's solved by version 7 in ...
199 views

### How to print preview a selection?

When printing (file->print...) there's the possibility of printing just the current selection. This is useful for printing just a couple of cells, or some chapters. The file menu also has Print ...
155 views

### Cyclic Noncommutative Multiplication

I work with traces of long matrix products and I want mathematica to employ the cyclicity when simplifying. I use this redefinition of the non-commutative multiplication: ...
273 views

### Microsoft SQL DatabaseLink connection using Windows Authentication from Mac

We know that Mathematic doesn't natively support Windows Authentication connect. But as we can see in this post, the problem can be easily solved when your Mathematica is in Windows version (I have ...
109 views

### How do I add options to a built in function, which only apply to a certain class of argument?

I'd like to add an option to a built-in function that only applies when it is given an argument of a certain form. For example, something like this approach to extending ...