3
votes
0answers
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 ...
3
votes
0answers
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: ...
3
votes
0answers
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 ...
3
votes
0answers
154 views

How to batch run Mathematica code from Python?

I have this notebook: ...
3
votes
0answers
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 ...
3
votes
0answers
107 views

Using data from multiple cameras

ImageCapture[] has an option Device-> for specifying which camera to use, but ...
3
votes
0answers
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? ...
3
votes
0answers
243 views

Weird behaviour from ListSurfacePlot3D

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there. ...
3
votes
0answers
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: ...
3
votes
0answers
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: ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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 (...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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. ...
3
votes
0answers
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: ...
3
votes
0answers
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 ...
3
votes
0answers
65 views

How to generate absolute Directories in HTML

...
3
votes
0answers
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?
3
votes
0answers
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: ...
3
votes
0answers
39 views

Behavior of $PreRead in Kernel

I am interested in making a simple accounting style line calculator that allows me to interact with it something like this: ...
3
votes
0answers
162 views

Mathlink and multithreading

In order to make my computations faster I have developed a C/C++ application calling Mathematica kernel and performing many operations using Mathematica functions for equation solving. Now I want to ...
3
votes
0answers
144 views

Is this result wrong because of calculation time? (and more questions about Assumptions)

I am confused with the Integrate Given by Mathematica. First let's see a one-dimensional case: ...
3
votes
0answers
143 views

I am missing a function like HoldPattern

Temporary message: I am planning to edit this question, making the examples less confusing and by moving the things that are confusing to a separate question For any confusion about expressions that ...
3
votes
0answers
160 views

Put webMathematica folder outside Tomcat webapps folder?

Is it possible to put the webMathematica folder outside the usual Tomcat webapps folder and still have webMathematica work? ...
3
votes
0answers
118 views

Assuming monotonicity and concavity

I have an expression that I would like to evaluate: 2 phi''[1 + a (-1 + u[10])] phi'[q]^3 > phi''[q] phi'[q] phi'[1 + a (-1 + u[10])]^2 Is there any way of ...
3
votes
0answers
429 views

FindRoot gives a wrong solution which obviously should not be there

I got stuck on FindRoot and I didn't see any similar problem posted, so let me explain what I am trying to do and what problem I meet here. I try to find roots of a particular function, which in the ...
3
votes
0answers
379 views

Cannot save file

Hello I have a problem in saving files in Mathematica. I can't save not only notebooks but also figures. When I choose to save the notebook it open a window that says: Mathematica could not find ...
3
votes
0answers
272 views

Is it possible to marginalize one or several parameters obtained from fitting procedure?

Statistical model analysis package has a few fitting functions. Their arguments are data points, fitting model and parameters in the fit. The result is a set of best values for parameters, which ...
3
votes
0answers
320 views

Solving recursion relations using Mathematica

I want to solve the recursion relation given in equation 2.7(a/b) on page $6$ of this paper. (..the initial seed is $F_1 = G_1 = 1$ and the functions $\alpha$ and $\beta$ are defined on page $5$ in ...
3
votes
0answers
106 views

rule transformations for compositions of tensor products

The tensor product satisfies far commutativity: $(f \circ g) \otimes (h \circ k) =(f \otimes h) \circ (g \otimes k)$. I have some replacement rules I'd like to apply to an expression containing ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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: ...
3
votes
0answers
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 ...
3
votes
0answers
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? ...
3
votes
0answers
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. ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
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: ...
3
votes
0answers
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 ...
3
votes
0answers
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 ...
3
votes
0answers
100 views

External file Sub Matrix Import

Is there a Built-In Mathematica Function to extract a Sub matrix from a huge external file? Functions getting pieces of internal nested Lists, (arrays) are in place. Example: ...
3
votes
0answers
147 views

RSolve not returning known solution

I have the following recurrence relationship for which I know the solution is given by a binomial distribution: ...

15 30 50 per page