# All Questions

136 views

### Improving convergence in a numerical integration (Version 5.2)

I have a double integral that I am trying to calculate numerically, and I'm having convergence issues. ...
107 views

### StreamColorFunction ignored when setting to the RGB color

Recently I needed to color streamlines with exact color (e.g. RGBColor[0.1,0.478,0.5]). The help (http://reference.wolfram.com/language/ref/StreamColorFunction.html) suggests, that this can be ...
331 views

### What kind of Mathematica license do i need to create cdf documents for my students and put them on my (academic) page at the university?

I'm an enthusiastic university teacher willing to exploit Mathematica for teaching purposes. I would like to know what kind of Mathematica license would let me: create notebooks and cdf documents to ...
105 views

### What format can Image3D be exported to? [closed]

I made a 3D image by stacking 2D images (Image3D command). When I tried to export it, 3DS and X3D are not working. What format can I export?
73 views

### Creating a variable from Reduce[] output in Mathematica

Say I have the following input: Reduce[{t*c==50, t==5}] the output: t == 5. && c == 10. Is there a way to create ...
151 views

### How do you create a tangent line that will move along the curve of a line? [duplicate]

Other people have answered this question, but I'm new to Mathematica. We're supposed to use the Manipulate and Show commands to ...
72 views

### Remove extra space between commas in subscripts generated by InputAlias

There are (unwanted) extra spaces between comma separators that are generated when I create an alias with subscript. Here is the code I am using: ...
116 views

### Symbolize Subscript doesn't work

I want Mathematica to interpret subscripted variables as symbols. I found documentation suggesting the Notation package could do this, but if I do: ...
50 views

I have encountered a number of odd issues using the Wolfram Workbench 3.0 Debugger. Whenever I try to step into a Switch[] statement, I get the following error message: "Problem Occurred - Debug ...
114 views

### Showing “updating…” message while Manipulate is re-evaluating

Is it possible to show a fixed text such as "updating..." instead of the last result shown, when Manipulate is re-evaluating an expression (in a slow evaluation ...
690 views

### Changing the default font size

Hey I have problems reading my mathematica notebooks due to the small fonts. I'd like to change their default values for the input and output. I already figured out that everything seems to be defined ...
295 views

### Excluding a Region in ParametricPlot3D

Suppose I have a torus and a closed path on said torus: ...
160 views

### Is there a way to make an interactive plot so one can pan and zoom?

My googling efforts returned nothing so I thought I'd ask here. I often make a ListPlot[] with a huge array, and sometimes it has smaller features that I'd like to take a closer look at, but aren't ...
145 views

### Pick bug? level 0 matching

A previous discussion of this issue (Is there a bug in Pick?) accepted that matching at level 0 is not a bug in Pick. Was that correct? I am not yet persuaded. ...
1k views

### Möbius transformations revealed

Möbius Transformations Revealed is a short video that vividly illustrates the simplicity of Möbius transformations when viewed as rigid motions of the Riemann sphere. It was one of the winners in the ...
123 views

### How can I export graph as PDF with metadata such as Title and Author fields

I want to export a figure from Mathematica in PDF format. Moreover, I want to fill Author and Title fields of the PDF. For example, to fill Author field, I use the following code: ...
89 views

### How can I export numerical data in a calculation-favorable format?

I am exporting some data into the txt file but since the values exported to this txt file expresses 10^6 to be *^6, I cannot use these numbers in calculations in other programs.. For instance, when I ...
316 views

### Replacing matrix values

I want to find the n largest values in a matrix and replace all others with zero. The solution I found uses ReplaceAll and becomes very slow as the size of ...
954 views

### Calculating a potential function using the finite element method

This is my first attempt to use the Finite Element method available in version 10. There are questions and I am very open to suggestions. My example is flow around a cylinder which is a well known ...
260 views

### Plots in version 10.0 look washed out compared to previous versions

Recently installed the new version but I can't get the graphics to look the way I want them to. If I run this code Plot[x^2, {x, -5, 5}, PlotStyle -> Thick] ...
165 views

### How to get a multiple line plot from a list of lists

Following this data input {{{2,4,6,8,9},{342432,435345,564564,56756,9945},{23,356,565,304,564},{3,67,76,44,7}}} The array is the data of three lines. The first ...
149 views

### Creating an Adjacency Matrix to connect an undirected network

I used the locator pane to map a network, specifically the Maryland Power Grid. What I would like is to have some sort of numbering of the vertices on the unconnected network, how to make an adjacency ...
251 views

### Issue with very large lists in Mathematica

I have a need to work with very large arrays of data in Mathematica. The length of the list is not known upfront. The typical size is a few hundred thousands elements and could easily go beyond a ...
69 views

### PDF for Normal-Gamma Mixture

The normal-gamma mixture is: ...
152 views

### Missing: KeyGroupBy?

Especially in tree-structured data, keys and values, being two sides of the same coin, frequently interchange roles. The ability to aggregate by value but not by key upsets the balance. How to ...
166 views

### Force change in aspect ratio of Inset image

I have an image that I want to place in the background of a plot and stretch it to cover the entire plot area. However, the aspect ratio of the image does not match the aspect ratio of the plot, and ...
249 views

### Changing BarLegend border style

I want all the lines in my plot to be a consistent style, let's say thick and black for the purpose of this question. ...
513 views

### How to track objects in video

I have a video that contains object moving in one direction, is it possible to track the objects and get information like object moving speed, object length and coordinates etc.? An example would be I ...
134 views

### Using ParallelMap to run multiple Game of Life simulations simultaniously

My Assignment and Code As an exercise in Parallel computing I've been tasked with implementing Conway's GoL in a way such that at every iteration only a fraction of cells are updated. I'm then to run ...
210 views

### Error computing sum of sum of digits

I've defined a function that computes the sum of the base-b digits of n: DigitSum[n_, b_] := Total[IntegerDigits[n, b]] Then I defined a function that computes ...
115 views

### How to efficiently select elements from a Hash?

How can I write an efficient version of the following selection statement: Keys[Select[hash, # < constant &]]; // AbsoluteTiming hash can be made from: ...
67 views

### Changing a tag when one function is passed into another using UpValues

I have two complicated functions f[x,y] and g[t]. Before the main evaluation code in ...
906 views

### Plot list of million points

I am working on large datasets of size $10\times 10^6$ and would like to visualize these in Mathematica, but they take lot of time to plot. How can I speed it up? I also want to save the plots as ...
207 views

### How to plot the result of this singular integral?

Please I open a new post here after this one : http://mathematica.stackexchange.com/a/59203/10158 Now I want to plot the function $f(a,b)$ as a function of $b$ for different values of $a$ : $a=0.5$ , ...
155 views

### Solving a two point boundary problem for a piecewise system of equations

I'm trying to solve a two point boundary value problem with a piecewise system of equations like: ...
146 views

### Only String Keys supported in Dataset's Association Query?

fixed in 10.0.2 Given data: titanic = ExampleData[{"Dataset", "Titanic"}] This Association Query works: ...
48 views

### How do I assign a formula to a variab [duplicate]

I want to compute equations and assign them to variable. This is a wxMaxima program that calculated symbolic PID gains for an integrating first order system ...
154 views

### Mathematica not responding

I am working in the field of applied physics. Some body suggested me to use Mathematica for plotting graphs and programming. After going through some tutorials, I have written the following code but ...
196 views

### Show graphics content in front of frame

Consider some graphics which spill over the plot range, like these: ...
193 views

### How to create a block diagonal matrix by repeating a submatrix $n$ times?

If there is a submatrix, let's call $P$: $P=\begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}$ And I want to have $n$, let's say $n=2$, such submatrices placed on the diagonal. The result is ...
102 views

### Wrapping Interval Notation for Take

I'm trying to implement the solution to a math problem in Mathematica, but my code can't handle a particular boundary case. I think that I could implement a function that would do what I want it to, ...
106 views

### How to manipulate with external data?

I have a .txt file which contains a lot of triples (a, b, c) (one per row) which should be coefficients of my equation ax^2+bx+c=0. I want to include each triple in .nb file and solve each equation. ...
131 views

### How can I produce a list of solutions for a function which is updated with updated variables using for loop?

I need to loop over a set of equations, solving for X and adding the new X value to the old X value at each step. The output I need is a list ...
482 views

### Should eigenvalues be ordered?

When I run Eigensystem on a symmetric matrix, the list of eigenvalues (and so, the corresponding eigenvectors) is ordered by absolute values, which is quite bizarre (it does make sense if you view the ...
163 views

### How can one use differential boundary conditions with helmholzSolve?

I can not get the helmholzSolve function provided by Mark McClure and user21 to work for a case that I want to constrain the spacial derivative of a boundary. In particular, I am looking at the ...
256 views

### Fast principal component analysis

I'd like to speed up a principal value value analysis. The data contains a large set of vectors with a large dimension. Both are in the range of 1000. I want to obtain the loadings matrix for further ...
167 views

### How to calculate the analytical result of this singular integral? [duplicate]

I'm trying to solve this integral: $I(a,b)=\displaystyle{\int_1^{\infty }\dfrac{e^{-ax}}{\sqrt{x^2-1} (1+x\sqrt{1-b^2}) (x-1/\sqrt{1-b^2})} \, dx} \,\, \,\,(a \;\textrm{real>0} \, , 0<b<1)$ ...
36 views

### Replacing variable name in TeXForm

I have some macros in a tex-file I'm writing and I would like Mathematica to use the same notation in its output from the TeXForm command. For example, if I write the equation: a = b I would like ...