# All Questions

25 views

### Expanding a function with trigonometric expressions in a controlled manner by excluding addition identities

I want to simplify a nonlinear equation with trigonometric terms. After I've expanded I don't want to loose open terms to Trigonometric Addition Formulas ...
61 views

### Why does this evaluate to {}?

I'm stuck with what seems to be an extremely simple issue, still, I just can't seem to find the solution or even the cause of the problem. So my issue is that I have the following surfaces: ...
41 views

### Parallel evaluation of symbolic matrix eigenvalues

I'm trying to find eigenvalues of symbolic hermitian 40x40 block matrix. It is made from 20 2x2 matrices like this: ArrayFlatten[Table[M[m,n],{m,1,20},{n,1,20}]] ...
40 views

### Visualisation of feedback loops in a directed graph

Here are the nodes (vertices) of my graph: ...
114 views

### Join nested lists based on first and last elements within each list

I have a nested list like this: test1 = {{1, 3}, {1, 4}, {1, 7}, {2, 1}, {3, 5}, {4, 1}, {5, 2}, {6, 1}, {7, 6}} I want to join the lists together depending on ...
89 views

### HistogramList is much Slower in 10.2 vs 10.1

While I was running a code I wrote using version 10.1, I noticed that in version 10.2 the running time of the same code was more than twice as long. After some digging, I figured out the culprit is ...
58 views

### Blank plot when using WorkingPrecision

I have the following code: Inv=WeierstrassInvariants[{1,I/3}] ...
57 views

### How should I iteratively refine a MixtureDistribution?

I am trying to find a stopping time for a randomized simulation such that say 95% of trials that will be successful will have already finished. I would like to do this by creating and then refining ...
53 views

### Display frame-tick labels on top side

I am making a standard framed Plot and would like the frame tick labels for the horizontal axis to appear on the top frame edge. I know I can do this by hand ...
39 views

### sum and infinity [closed]

I posed this question a few days ago that is no answer, but now I will clarify. If you have the sums $(1+2+..+n) + (1+2+3+..+n-1)+ (1+2+3+..+n-2)+(1+2+3+..+n-3)+...+(1+2+3)+(1+2)+1$ for large ...
42 views

### Defining an array of functions with multiple indices and one variable [closed]

I have a function f of one variable x and a 4 x 3 array ...
149 views
+50

### How to parallelize a Do loop containing URLFetchAsynchronous?

I'm have a simple piece of code: results={}; Do[If[!FailedQ[g = grab[i]], AppendTo[results, g]], {i, 2000000, 3000000}] I had thought that the simplest way to ...
84 views

### How to stop solving after one solution is found?

With[{P = 12}, Solve[{a^2 + b^2 == c^2, a + b + c == P, 0 < b <= a, c > 0}, {a, b, c}, Integers]] {{a -> 4, b -> 3, c -> 5}} ...
39 views

### Reducing quantile & color map queries for use with Associations

This set of queries perform basic maps to quantile and then color-map. There's got to be a more compact solution. What are some approaches to reduction? Numeric: ...
33 views

### How to extract an association with similar keys from another association?

Considering we have an association like: ...
49 views

### Identify a scalar, a list

I have a symbolic scalar m2 and a symbolic list (representing a 3x3 matrix) A. I want a function which does something like: ...
64 views

### Solve: Changing parameters breaks the solution

I have the following code: ...
340 views

### Help remove annoying vertical lines in a piecewise plot

I use the following codes to define and plot three piecewise functions. ...
77 views

### 4D rotations of 600-cell to make cell centered stereographic projection

I have made a 600-cell wireframe model from Eric Weinsteins' 2/13/14 600-cell notebook (600-cell: a regular polytope, 4D, analogous to the icosahedron, with 600 tetrahedral cells, 120 vertices, 720 ...
55 views

### Installing the HypExp package

I am trying to download the package HypExp for expanding hypergeometric functions in terms of logs and polylogs. As far as I understand and read from online, one way to do this is to go to File then ...
86 views

50 views

### BarChart: Want to rotate and place a y-axis label on the left side

I would like to know if it's posible to place the y-axis label roated on the left side without using Frame->True and ...
108 views

### Setting ::usage for variables returned from a function

What is the best way to achieve {v,u} = f[]; (* Returns value and usage description *) v::usage = u; from inside f, i.e., ...
96 views

### Fitting local regression through data

Is there a way to fit local regression through data in Mathematica (equivalent to say "smooth" in ggplot-R)? I've literally spent the last hour searching the internet and documentation centre and I ...
159 views

### New AssociationThread forms in 10.2?

Is this another case of "documented" but "not implemented" ? or at least it is not explained clearly as I cannot make it work: Two new forms appears in the new 10.2 doc. of ...
62 views

### Solving an NODE in series

How can I solve this NODE in series y''[x]^2 + (1/2)*y'[x] + (1/2) y[x] == p x + q. p and q are constant. But do not know how to actually solve it with ...
68 views

### LabelingFunction in BarChart displays bar-values below x-axis

I'm trying to visualize some data using a BarChart[] in Mathematica. The data should be placed (centered) inside the bars - except the bar is too small. In this ...
29 views

### How can I name to a saved file with the numerical values of some specific parameters? [duplicate]

I'm using some parameters to determine the elements of a list. I want to save this list with DumpSave, but I need to name it with its parameters. For example, I use the following parameters ...
4 views

### How should this power series be solved [closed]

-c+3 a^2 b +3 a^2 d -3 a^2 f + O(3)/-a^2 c + a^3 b + 1/2 a^3 d -2 a^3 f + O(4) then its answer is required up to O(a) here in both equations a is a variable and b,c,d,f are constants. solving a ...
11 views

### Airy function and its value at 0 [closed]

On the page http://mathworld.wolfram.com/AiryFunctions.html, the Airy function is defined as $$\text{Ai}(z)=\frac{1}{2π}\int_{-\infty}^{+\infty} e^{izt+i\frac{t^3}{3}} dt,$$ a formula that can be ...
18 views

### How to find the particular point on camera capture image [duplicate]

I need a help to find shoulder edges of any image
154 views

### Mathematica-exported PDFs placed in Illustrator documents keep disappearing

This question is regarding interoperability between Adobe Illustrator and Mathematica. Illustrator has a File → Place... function which can insert complete figures inside Illustrator documents. ...
203 views

### A With expression local variable specification without head List

I just noticed a new form of With in its documentation: With[$x=x_0$, $expr$] specifies that all occurrences of the symbol $x$ in $expr$ should be replaced ...
49 views

### Manipulate not updating the way I expected it to

I want to make a selector that allows me to select a date and, depending on the date, load a list of car makes. After that, I should be able to select a specific car make. ...
197 views

### Mathematica for Raspbian 8 aka “Jessie”

I have upgraded the Raspbian installation on my Pi 2 from "Wheezy" (= Debian 7) to "Jessie" (= Debian 8), mainly because I need a more up-to-date G++ compiler for my other projects. Much to my chagrin ...
64 views

### How should I enter indexed terms? For example, constants $n_k$ for $k\in\{1,\,\ldots,\,N\}$

How should I enter $\quad \quad \sum^{N}_{k=0}{f(n_k)}$ into Mathematica? More generally, how should I work with the indices? Take the following as an example. I know how the ...
105 views

### Plot a curve on a lattice

How do I plot a 2d curve and label lattice points to one side of it? I want to plot the curve $f[x]=\frac{1}{x}$, and draw a solid red dot at every lattice point in the following set: \{(m,n)\in ...
59 views

### Simplify expression to Integer

I have the following function: f[n_]:=(n-1) E Gamma[n,1]; I know that this expression always evaluates to an Integer, but Mathematica doesn't always output the ...
44 views

### Documentation for the Bounded option of SmoothKernelDistribution

I have found the Bounded option useful in the SmoothKernelDistribution function, but I can't find any documentation for exactly ...
84 views

### Some symbol does not auto-complete in v10.2

When I input Backsub in Mathematica 10.2 and press Ctrl+K after, I couldn't get Backsubstitution. My OS is Windows 8 32-bit. ...
60 views

### Convert a list of lists of rules to a list of values [closed]

I have a list of the following form: thisVeryExcitingList={{x->1},{x->2},{x->3}} I would like to convert it to the form ...
116 views

### CompilationTarget to C takes long compilation time

Consider I have a function, with one version that compiled to the virtual machine and one that compiled to C: ...
50 views

### Manipulating unevaluated expressions in nested function calls

This is a follow-up to my earlier question: Passing an unevaluated part of an association to a function I'm trying to create a modular dashboard that controls sound volume of an audio system ...
36 views

### Running an animation if a certain condition is met using Manipulate

I'm having trouble finding a way to play an animation (inside Manipulate) if a certain condition is met. I'm representing liquid volume with rectangles and if the ...
29 views

### Weighted graph vizualization [duplicate]

Is it possible to visualize a weighted graph, so lines on screen would reflect weight? I.e., be longer, or shorter depending on edge weight? Slight OT: which graph visualising libraries/tools can do ...
47 views

### Is FindRoot wrong about its WorkingPrecision?

I noticed an odd mismatch between the behaviors of NDSolve and FindRoot. If you give NDSolve an equation of a certain precision, say 20, and tell it to use a higher WorkingPrecision, say 30, it will ...
20 views

### Using Infinity with AutomaticUnits

I am using the AutomaticUnits package in Mathematica 10, and I am writing some unit checking functions. However, I run into a problem when I have an Infinity, since ...