# All Questions

70,480 questions
Filter by
Sorted by
Tagged with
149 views

### Is there a way to add arrows along a parametric curve inside a manipulate function? [duplicate]

I cannot find a good way to add arrows along a parametric curve that I used NDSolve to get. I have written everything inside ...
176 views

### How can I compile function with Apply?

For example, I tried to compile this function but Mathematica gives "The only function arguments supported are Times, Plus, or List", I have no a way to compile this. ...
45 views

### “Go back” and “Go forward” in help? [duplicate]

This is a duplicate question with Gestures for forward/backward in help browser (particularly on a Mac). Please close this question. In IE, we can "go back" by Alt+←, and "go forward" by Alt+→. This ...
1k views

### How to make Graphics3D object with different colors

Here is a sample Graphics3D object: ...
148 views

### Need an explanation on how code from journal works

I was reading a paper from Mathematica Journal. It gives code for calculating subsets. ...
251 views

### Is it possible to find a CellularAutomaton behind a sequence of 2D Tables

Maybe this is a hard question, maybe not. Whoever knows the answer can help me a lot starting working on CA theory. Let's suppose I have a sequence ...
74 views

599 views

### Modify all the second elements of every pair in a list of pairs

I have a list in the form {{a, 1}, {b, 2}, {c, 3}}. Let's say I want to operate a transformation on all the second elements of each sublist, but this transformation is a function of them all together....
6k views

### Plotting a contour on a torus

There are two ways to consider a two-dimensional torus. One way is to take a parallelogram (let's say the square $[0, 1]^2$) and topologically glue the opposite edges. Another way is to look at the ...
359 views

### Dynamic and LibraryLink: dynamic visualization of a simulation

I am asking this question to save some time and I am expecting answers only from people who have tried something like this before. (I realize that I could just try it and see if it works, but that ...
2k views

### How to connect Mathematica 9 to MS SQL 2012 using Windows 7 enterprise (64-bit)

I have used Microsoft Open Database Connectivity (ODBC) with Mathematica 8.0 and MSSQL 2008 on Windows XP, but I can't get it to work on Windows 7 Enterprise (64-bit) with Mathematica 9.0.1.0 and MS ...
123 views

### When is the output of examples in function documentation rasterized?

Upon building documentation in Workbench, Workbench sometimes converts the output of examples on function pages into rasterized images, and sometimes not. Does anybody know what controls this behavior?...
666 views

### FindShortestTour for charity (or: How can I optimize meal delivery with FindShortestTour?)

I've been wondering about this for a while - but never got around to asking - until I saw faleichik's incredible answer to Mathematica Minecraft. I did some work at a not-for-profit a little while ...
2k views

### Why isn't autosave enabled by default?

While I've come across several ways to implement/enable autosave (see: Is there a notebook autosave frequency configuration?, Saving my code before cell evaluations: Insurance against front end ...
2k views

I'm wondering if it is possible to link Excel and Mathematica in real time, so that Mathematica can be used as a computing and "storage" tool. Suppose I have an Excel spreadsheet with an active DDE ...
1k views

### Transcendental equation with ContourPlot3D

I am still a newbie to Mathematica, so I am still getting used to the syntax and logic of the program - but I've been trying to do the following 3D plot: ...
141 views

### Disagreement between FindGeoLocation and Alpha: “Where Am I?”

While trying to estimate a user's location in a notebook, I noticed that FindGeoLocation[] was extremely inaccurate. I realize that it uses an IP lookup to make ...
916 views

### Wallis Formula and Pippenger Product---How do we get symbolic output?

The Wallis Formula computes $\frac{\pi}{2}$ OEIS and the Pippenger Product computes $\frac{e}{2}$ OEIS. Here is a combined formula: ...
139 views

### Memory handling by ConstantArray

I noticed the following issue when using ConstantArray: a = ConstantArray[0., {10000, 100}]; ByteCount[a] (* 8000152 *) Then ...
1k views

### xkcd: Geohashing in Mathematica

On May 21, 2008, an xkcd comic proposed a method for creating a random, local meeting place that can't be determined until the day of the meeting. This method is usually used for xkcd fan events, but ...
1k views

### How do I replace a missing value in a column with the value immediately above throughout a table?

I have a large table (7000 rows × 17 columns) of terse textual data. In many of the columns, empty entries have been replaced with "." as a marker. Working from the top of the columns downward, I want ...
845 views

### Building a molecule viewer: aesthetic rotations

I am working on building a molecule viewer in Mathematica and am running in to problems with controlling rotation of the molecule (which is rendered as a Graphics3D...
140 views

### Counting Stochastic Processes and displaying relative value

Counting Stochastic Processes and displaying relative value I have two watermarks and multiple stochastic processes given. I want both to display and count the stochastic processes which are below ...
352 views

### Can I take derivative of a function that represents a piece of music?

Can I take the derivative of a function that represents a piece of music? The music is given in .mp3, .midi or whatever comes in handy.
151 views

### Is it possible to create a styled cell with pre-defined content?

When you create a new styled notebook from the Stylesheets chooser dialag, you get a new notebook using the chosen style with some sample content provided. But if you apply styles from the same ...
598 views

### WhenEvent and partial derivatives

Can WhenEvent be used to reset the conditions on a PDE at a given time? How would the syntax of that be? This is the code I`m using ...