5
votes
1answer
377 views

Trouble with CDF on Mac OSX

My problem seems to be very strange. I've created a CDF file and am trying to upload it to a Google site, and I've been almost completely successful! My only problem is that I cannot correctly ...
21
votes
2answers
355 views

What is the equivalent of a prototypical Manipulate in lower level functions?

Background: In the Mathematica tutorial 'Dynamic Interactivity' I read that there is a way of developing GUIs in Mathematica that do not use Manipulate. I want to ...
9
votes
1answer
290 views

How can I add row and column header images to my TableForm output?

I am experimenting with the Eigenfaces algorithm and have my notes and experimental data collected in a Mathematica notebook. The result of an experimental run is a table of scores, where the smallest ...
5
votes
1answer
113 views

Remove CellMargins option from many cells

I have a very old notebook in which many cells had the CellMargins option set manually. What's the easiest way to remove all those manual option settings?
12
votes
2answers
351 views

Comfortable Edge Labeling of Undirected Graph

I'm working on a program that finds special [called "interval"] edge-colorings for graphs. Output is as follows: ...
10
votes
2answers
352 views

What do the options of SmoothKernelDistribution do?

The function SmoothKernelDistribution has three options that are not described in too much detail in the Mathematica's help window. InterpolationPoints: What is ...
7
votes
3answers
2k views

Animate ParametricPlot3D for two different parametric equations

I want to write a computer program to generate 3-D plots (with x-y-t axes) to demonstrate the evolution of the two missiles in the following case: i. $x = 100t$, $y = 80t-16t^2$ for $0\leq t\leq 5$ ...
7
votes
2answers
193 views

Speed up Fourier for Booleans

I'm calculating a bit of the power spectrum of a two color cellular automaton using: ...
8
votes
1answer
273 views

Does Mathematica use first order or second order order unification?

When Mathematica is pattern-matching expressions, does it use first order or second order unification. Just to clarify the difference between first order and second order unification: In Second order ...
36
votes
5answers
3k views

Creating ghost trail effects

Does anyone know how to create a ghost trail effect? For a simple example look at this screenshot: You can find the actual animation here. What I would ultimately like to see it happen is to make ...
13
votes
3answers
669 views

How to find all vertices reachable from a start vertex following directed edges?

How to find all vertices reachable from a given start vertex following directed edges, in a cyclic directed graph given as ...
5
votes
2answers
347 views

How to find Matano plane

I have discrete collection of data points (10 to 10^4). I want to describe them by a continuous function and find a x value z, ...
21
votes
3answers
1k views

“Covering up” text in Graphics

Consider the following code: ...
7
votes
3answers
556 views

Creating word histograms from lists of strings

Consider the following: ...
20
votes
4answers
2k views

Efficiently generating n-D Gaussian random fields

I am interested in an efficient code to generate an $n$-D Gaussian random field (sometimes called processes in other fields of research), which has applications in cosmology. I wrote the following ...
0
votes
1answer
324 views

Tabulating Numeric Approximation

I was wondering how to approximate or tabulate values for this numeric approximation: It is the following: The confusing part is how to implement the subscripts in mathematica. $y_{i+1} = (t_i - ...
7
votes
1answer
129 views

Using Differences on data: trouble with floats and doubles

Consider the following data set (after I have run FullForm), which is imported from a file (stored typically as 10.040): ...
8
votes
2answers
302 views

Custom Format for “constructors”

Say I have a the typical Mathematica linked list structure defined like so: Attributes[Pair] = {HoldAllComplete}; Nil = Pair[]; Cons = Pair[#1, #2]&; It's ...
10
votes
1answer
336 views

How can I style text like in the documentation?

I'm writing an article, and I really like this style that you get when you type ?AnyFunction. Is it possible to achieve this?
4
votes
1answer
126 views

X3D Export - adding a title

Is there a way to add a title to an X3D (3D) plot that is exported using Export[]? I didn't have much success with exporting a ...
7
votes
2answers
418 views

How can I plot more than one value in the same date?

I am trying to plot values that occur in different days and times. I am using DateListPlot, but it plots all the values for a day in the same day. Is there a way to ...
10
votes
2answers
177 views

Unsatisfactory view of Panel, when transformed to pdf

I like very much to wrap Mathematica images by Panel, which gives many of them a much better view. To be precise, if image is some illustration, plot etc. I would ...
15
votes
1answer
588 views

Why does Plot3D omit parts of the surface at kinks?

When doing Plot3D[Max[p^2-q^2,0],{p,0,1},{q,-1,1},PlotStyle->White] the result looks like this (with Mathematica 8.0.0.0): As you can easily see, at the ...
4
votes
1answer
216 views

How to control variables of outer and inner Manipulates?

Consider the following ( working ) snippet: ...
14
votes
2answers
3k views

Plotting vectors originating from the origin in 3D

I have an array of data with 3D elements. Ex: x = {{1,2,3}, {3,4,5}, {5,6,7}}. I want to show this data in 3 dimensions, such that each point in the space is shown ...
9
votes
8answers
528 views

Adding elements to a collection of lists

I would like to add element a at the start of a series of lists. For example I have a collection of lists called ...
10
votes
3answers
512 views

Vertical alignment of FrameTicks Text

The text box of a FrameTick/Tick is, by default, vertically centered on the tick mark. Is there a way to adjust the vertical alignment of FrameTick text? Specifically, along the lines of Baseline, ...
6
votes
3answers
926 views

print the name of the variable in a list without evaluation

a := az + 1 b := bz + 5 list := {a, b} I'd like mathematica to print a = az + 1 b = bz + 5 so basically it needs to first ...
6
votes
3answers
1k views

How to properly plot a response of a transfer function in Mathematica?

I'm trying to display the output response of a transfer function in Mathematica with and without a compensator. The problem is very strange: while the transfer function compensate is showing well, the ...
43
votes
3answers
2k views

Changing color of an object in an image

Consider the following image: How can I change all red colors in this image into (for example) blue.
15
votes
2answers
984 views

Improved interpolation of mostly-structured 3d data

This question arose in response to a comment by Leonid to my answer for this question. He noted that for unstructured grids, Interpolation can only use ...
9
votes
2answers
3k views

Numerically obtaining the inverse Laplace transform of data

I have been using several Mathematica packages to do numerical inverse Laplace transforms on known (expressible in closed form) expressions, $\tilde{f}(s)$. I am now being confronted with the more ...
11
votes
2answers
5k views

interpolation of 3D data

I have a 3D surface given in data-points of the form ${x,y,z}$. What is the easiest way to get the interpolated value $z=f(X,Y)$ for given coordinates ${X,Y}$ (which are of course not in the data ...
4
votes
1answer
585 views

How can I model composite 3D structures?

I know that Mathematica isn't built to model 3D, but most of my models are equation-defined so here's my question: is it somehow possible to combine ad-hoc 3D objects as well as ...
10
votes
2answers
972 views

Non-commutative symbolic linear algebra

I am fairly new to Mathematica but I thought I would be a helpful tool to carry out a few simple linear algebra calculations. It seems like an easy task but I cannot figure out how to do it. For ...
12
votes
1answer
338 views

Just what kind of transformations can TransformedDistribution handle?

Why does the following command return an empty plot? ...
13
votes
1answer
177 views

Width-dependent MatrixForm

When writing fractions, Mathematica has a quite intelligent behaviour: If the fraction gets too long to fit on the width of the notebook, it is automatically replaced by ...
8
votes
1answer
1k views

Bordermatrix from LaTeX

How would I create an output similar to the result produced by this LaTeX code: ...
9
votes
3answers
415 views

Dealing with nested options

OptionValue allows for recent versions of Mathematica (I think as from 7) to easily access optional parameters if they are explicitely given to a function or their default values otherwise. For big ...
13
votes
5answers
544 views

Interlacing a single number into a long list

This seems like it should be a simple question, but I am running into some difficulty in doing this with Mathematica. Right now, I have a list like this: ...
5
votes
1answer
439 views

Exporting a 3D plot into a 3D viewing format and axis scaling

I've been trying to export a Plot3D into an X3D (JVX, VRML) file using the Mathematica's Export function. The problem is that when the PlotRange is large compared to the other two dimensions the ...
10
votes
2answers
167 views

GridBox/packed array behaviour

I have never used low-level formating functions, so this problem might have a simple solution. I'm currently pulling my hair out trying to solve it, however. Consider the following example: ...
5
votes
1answer
445 views

Unsupervised Machine Learning Algorithm for Autonomous Image Processing and Tracking

I am trying to prototype a Mathematica application that will enable Autonomous Intruder & Anomalous Event Detection, Tracking and Alarm to web users those who want to autonomously and ...
14
votes
3answers
752 views

Mathematica usage (success stories) for financial back-ends

I've been working for about 5 years in Java, developing financial back-offices (web-services, business logic, report generation etc.). I think Mathematica is very suitable for such calculations and ...
9
votes
3answers
466 views

How to format numbers with at least one figure after the decimal point

I'm searching for a way to get Reals formatted with at least one figure after the decimal point. So e.g. 3. should be printed as 3.0 and ...
13
votes
1answer
548 views

Incorrect results for elementary integrals when using Integrate

There is a rather simple integral ($K_0$ is the 0-th order MacDonald function) $$\int_0^\infty e^{-x \cosh\xi}\, d\xi = K_0(x)$$ which mathematica cannot solve. This even though the documentation ...
7
votes
3answers
582 views

Visualizing the output of a Voronoi diagram computation

I need to plot a graph (to be specific: Fortune Algorithm output) with given vertex coordinates and a few unconnected vertices. I am thinking of using Mathematica for that. ...
28
votes
1answer
2k views

Does Mathematica support variable frame rate for any video format, in analogue of GIF-style “DisplayDurations”?

The good old GIF animation format allows us to set the duration of each individual frame in the animation separately. This is especially useful if some frames in ...
14
votes
1answer
745 views

Labelling ArrayPlot Charts

I have been using ArrayPlot to show off some information. Currently, my datasets are like so: ...
4
votes
1answer
261 views

DistributeDefinitions doesn't work as expected when used for table iterator bounds?

I am new to parallelization in Mathematica, so this question may reflect some elementary confusion. I am attempting to parallelize a rather complicated module which, as part of its internal ...

15 30 50 per page