1
vote
3answers
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. ...
2
votes
2answers
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 ...
5
votes
2answers
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 ...
1
vote
1answer
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?
3
votes
2answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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: ...
1
vote
1answer
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: ...
0
votes
0answers
50 views

Path must include /TypeSystemLoader.m?

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 ...
6
votes
2answers
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 ...
1
vote
0answers
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 ...
10
votes
3answers
295 views

Excluding a Region in ParametricPlot3D

Suppose I have a torus and a closed path on said torus: ...
5
votes
1answer
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 ...
3
votes
3answers
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. ...
37
votes
2answers
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 ...
3
votes
0answers
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: ...
1
vote
1answer
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 ...
9
votes
4answers
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 ...
27
votes
1answer
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 ...
4
votes
1answer
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] ...
2
votes
2answers
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 ...
2
votes
1answer
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 ...
7
votes
3answers
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 ...
1
vote
1answer
69 views

PDF for Normal-Gamma Mixture

The normal-gamma mixture is: ...
8
votes
2answers
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 ...
2
votes
3answers
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 ...
10
votes
3answers
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. ...
3
votes
1answer
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 ...
3
votes
1answer
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 ...
8
votes
2answers
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 ...
3
votes
1answer
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: ...
1
vote
2answers
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 ...
13
votes
5answers
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 ...
5
votes
1answer
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$ , ...
1
vote
2answers
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: ...
6
votes
1answer
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: ...
1
vote
0answers
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 ...
0
votes
0answers
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 ...
10
votes
1answer
196 views

Show graphics content in front of frame

Consider some graphics which spill over the plot range, like these: ...
6
votes
3answers
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 ...
3
votes
2answers
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, ...
0
votes
3answers
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. ...
-2
votes
1answer
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 ...
6
votes
2answers
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 ...
0
votes
0answers
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 ...
3
votes
0answers
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 ...
2
votes
2answers
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)$ ...
0
votes
0answers
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 ...
1
vote
1answer
45 views

Interpret TraditionalForm as InputForm

Every time I execute a command in Mathematica, it prompts me whether I would like it to remember my decision to convert TraditionalForm to InputForm. Sadly it doesn't remember my decision ? Any ...
1
vote
1answer
147 views

Differential Equations: Solving a second order ODE with DSolve

I have the following equation h''[η] + (2 a'/a) h'[η] + (k)^2 h[η] == 0 2 a'/a = 1.3551 with boundary conditions ...

15 30 50 per page