# All Questions

1answer
687 views

### CUDALink not working on Linux-64 and Asus GTX460

On my hardware I have a CUDA enabled video card an ASUS GTX460, yet Mathematica does not seem to recognize this. I have: CUDA Toolkit 4.1 CUDA SDK 4.0 NVIDIA Driver 295.49 on Sabayon Linux 64 ...
2answers
869 views

### Exporting images as .avi

Here's a list of images: images = Table[ExampleData[i], {i, ExampleData["TestImage"]}]; And according to the reference "Export exports a list of graphics, ...
2answers
137 views

### How do I access the name of a list in a function?

Background: bar := {1, 1, 1}; foo[var_] := {Hold[var], 2 var} SetAttributes[foo, HoldAll] foo[bar] Result, as expected: ...
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 ...
1answer
496 views

### ReplaceAll inside an Iterator

I'd like to apply a set of rules to an expression defining the iterators of the table, like this: ...
1answer
292 views

### Why does Installing small caps fonts in OS X cause notebook Text cells to use that font?

I installed Adobe Type 1 Times Roman SC (small caps) and Times Roman Bold SC fonts on my Mac OS X system. Now every old or newly-created Text style cell in every ...
2answers
525 views

### How can I visualize features found in an image?

I am using Mathematica to explore the face detection feature of Core Image on Mac OS X Lion. To do this I have an Objective-C program which captures images from the iSight camera, runs face detection ...
1answer
285 views

### Getting Integrate to perform numerical integration

I am trying to calculate the mutual impedance of two antennas which is just a big integral. I defined my function in terms of my variable, but when I execute it, Mathematica runs for a while and then ...
5answers
4k views

### Computing eigenvectors and eigenvalues

I have a (non-sparse) $9 \times 9$ matrix and I wish to obtain its eigenvalues and eigenvectors. Of course, the eigenvalues can be quite a pain as we will probably not be able to find the zeros of its ...
1answer
734 views

### Efficiency of ParallelDo when a global variable./matrix is being updated

(Disclaimer: I realize that the addition of matrices a and b below can be done very fast just by typing a+b. The code below is just meant to illustrate behavior similar to what I observe in much more ...
3answers
746 views

### Arithmetic operation on the value returned by Solve

I want to modify the value that is returned by Solve. Example: SolC1 = Solve[Sin[ π x / L] == 1, x] {{x -> L/2}} I need to add n to x so that x becomes ...
2answers
1k views

### Animating a rotating disk

I have a system with 3 degrees of freedom that I want to know if it is possible to visualise with Mathematica in the two-dimensional $X-Y$ plane. I have a plane ...
1answer
376 views

### PrintTemporary in ParallelTable

I thought of a possible answer to Monitor doesn't work with ParallelTable but it doesn't work as I hoped it would. This accumulates print cells instead of deleting them as intended. Can it be ...
2answers
499 views

### Visualizing 3x3 spectrahedra

I'm trying to visualize the SDP cone over 3x3 matrices by plotting random 3d sections of it. Since each region is a system of inequality constraints, I'm using RegionPlot, but I think the plots would ...
1answer
122 views

### Why does Nintegrate keep unevaluated?

It's no surprise that the "MonteCarlo" Method works well: ...
4answers
193 views

### DateListPlot: Highs and Lows

I have this data: ...
2answers
105 views

### SetOptions for CoordinatesToolOptions for DateListPlot?

Bug introduced in 10.0 and persisting through 10.1.0 or later DateListPlot does not respect my Options setting for ...
0answers
118 views

### Why don't products of Dirac deltas integrate correctly?

The integral $\int \int \ \delta(x) \delta(y) \ dx dy=1$ evaluates to 0 in Mathematica ...
1answer
117 views

I am asking for feedback from people running Mathematica 10.0.x or 10.1.0 on Chinese versions of Windows. Does the following command work or does it give $Failed? ... 1answer 169 views ### Conversion to TeX results in infinite recursion Bug introduced in 9.0 and persisting through 10.1 or later Confirmed as bug by WRI: [CASE:3059683] I'm trying to export to$\TeX$a Message cell. For example, ... 4answers 221 views ### How can I get a list of the positions of the running minima in a list? I want the positions of the (sequential) running minima in a list, that is, the positions of entries that have the minimum value of all the elements in that list, up to and including that entry. For ... 2answers 128 views ### Indexed Thread on dataset and list I currently have a dataset, and I would like to add a column based on another list. For example: ... 1answer 93 views ### Module does not remove a function definition The following is a minor variant of the function uniqueTuples as given by Simon Woods in this answer. ... 1answer 130 views ### Is there a built-in function to do binary search? Is there a built-in function to do binary search? Say, given a list (sorted) and a number, find the position which keeps the listed sorted when the number is inserted. I know that ... 1answer 228 views ### VectorPlot3D - vectors starting at points Normally the vectors in VectorPlot3D ar attached the middle. How to get them attached at the beginning (what is typical conventions in most textbooks) by use of VectorPlot3D ? 2answers 116 views ### Why does Rule behave like this? Why does {x, x^2, x^3, a, b} /. x^n_ -> f[n] result in {x, f[2], f[3], a, b} when ... 0answers 137 views ### Alternatives to FiniteElement as Spatial Discretization Method for NDSolve Finite Element Programming: [...] It is possible to skip this section and continue with the discretization stage and make use of the initialized data structures ... 2answers 193 views ### RegionPlot from NDSolve I am having quite a headache using RegionPlot to see the region of acceptance of certain coupled differential equation. I shall elaborate and try to be as ... 1answer 119 views ### Solve a differential equation with an integral inside? I am trying to solve this differential equation in Mathematica: y'[t]+integral from 0 to t of y[x]dx =e^(-t) where y[0]=0. Is this possible? 1answer 227 views ### Wrong BarLegend with VisibleSpectrum ... 2answers 282 views ### Mathematica periodic moving map I am pleased to have MovingMap in Mathematica 10. But, today, I encountered the problem that needs MovingMap with a periodic boundary condition. To be specific, Consider the following example. ... 3answers 254 views ### The speed of Sum[] varies strangely I was curious about the difference in speed between Total and Sum. I found out Total was ... 3answers 177 views ### How to separate factors by dependent variables (arguments)? How can I separate factors in an expression by their dependent variables? For example: expr = b * c[2] * a[x] * 2 * x^2 * g[x,y] * z[r] * D[q[x], {x, 4}]; I ... 2answers 252 views ### Plotting two recursive functions I'm trying to plot two recursive functions (p and θ) on a map. So far I have: ... 4answers 193 views ### Signed power set of a list Given {a, b, c, ...} with$n$elements generate a list with$2^n$elements. For example, if the list were {a, b, c}, then the ... 2answers 268 views ### What is the font of these control labels? What is the font of these control labels? I've gone through every font Mathematica offers (through the format GUI) and don't see a match. Haven't had any luck with default format files either. I'm ... 2answers 269 views ### Define a rule of derivative in NonCommutativeMultiply? In tensor calculation, I need to do the following thing: Define a derivative operator Drv[fun,i], such that ... 3answers 274 views ### Element-wise list operation on list of lists [closed] Suppose a function F operates on list A: $$A=\{a_1, a_2,\cdots, a_n\}$$ I have a list of lists, B: $$B=\{A_1, A_2,\cdots,A_m\}$$ Is there a syntax to specify that F should operate on members of B, ... 3answers 203 views ### How can I plot the frequency of list items? How can I plot the frequency of list items such as?: ... 4answers 137 views ### Syntax for Table with a pure function I have: g = #1^2 + a #2^3 / #1 & Now I wish to make a Table evaluating this from 1 ... 0answers 328 views ### WindowSize error message when saving Graphics object as PNG [duplicate] When I try to save a Graphics object using the menu File ▶ Save Selection As... or via right click and Save Graphic As... the Messages window pops up with the ... 1answer 184 views ### Dynamic panel crashes Mathematica 10.0.0.0 This answer by @paw have revealed a bug that causes Mathematica v 10.0.0.0 to crash the GUI and kernel. So far the offending code is this: ... 2answers 164 views ### How to lookup by a string key after GroupBy? Inconsistent data type handling This is relates to a bug that was introduced in 10.0.0 and fixed in 10.0.1 It also relates to an issue that has yet to be corrected. After applying GroupBy to ... 3answers 153 views ### Prevent iterator name from being confused with symbol passed into function body I have a massive amount of code with lots of Table and Sum inside a Module. Each with their ... 4answers 127 views ### Passing a variable messages list to Quiet I'm trying to build a Verbose option into some code but I'm having trouble passing to a Quiet statement a variable list of which messages I want to suppress. My ... 1answer 87 views ### Is it possible to recover the style of the previous version(V8,V9) in Windows? In Wolfram Mathematica 10 (Windows paltform),the menu bar and files are combined together.When I narrow the window，it will become ugly shown as below! So my question is: Is it possible ... 4answers 199 views ### Defining a function with parameters as variables I have an expression V = (a[1] + a[2])b[1]. How would I define a function of a[1], a[2] and ... 2answers 219 views ### Mark Minimum Value in DensityPlot Let's take this example: DensityPlot[Sin[x] Sin[y], {x, -4, 4}, {y, -3, 3}] How do I retrieve the minimum value and position of the minimum of a plot from the ... 2answers 128 views ### How can I save a Manipulate's control settings to a dataset? This is probably an extremely simple question. I have a manipulate that sets variables used to define an offset, amplitude, frequency and phase of a trigonometric function. ... 1answer 227 views ### Setting$RecursionLimit crashes Mathematica 10

I have encountered what I shall presume is a bug: setting \$RecursionLimit repeatably crashes the Mathematica 10 kernel: ...

15 30 50 per page