# All Questions

369 views

### Using ListPlot and Joined, how to keep markers in colour but make all joining lines gray?

I want to create a ListPlot with three sets of data, where the data in each set are joined by a line. This is an example: ...
237 views

### How to dequantify units in mathematica?

Is there a function which applied to a quantity returns its numerical value so I for instance can fill it into my Predictorfunction?
140 views

### Image Processing: Using AdjacentBorders with SelectComponents

I've been doing some image processing and have been having trouble with the AdjacentBorder command. I've got an image in which I have several elements that are on ...
280 views

### How to combine a plot with an image

I have an external data file data which contains the position of stars of a galaxy simulations and it looks like this ...
92 views

### Behaviour of Plot3D with large numbers [duplicate]

I have a problem with Plot3D. At first I thought it was a problem in general, but while creating a minimal example for posting here, it came out to be a problem with large numbers ...i guess. Let's ...
179 views

### Selecting a specific complex number from a list

I have a formula which is producing a large (hundreds of elements) list of complex numbers of the simple form $x+iy$. However I'm only interested in the one value which satisfies the conditions: ...
130 views

### fragment loss with ContourPlot3D

I expect to have a chimney-look plot out of the function z = 1/(x^2 + y^2), but what I got is a broken one. Is there a way to get an intact plot from ...
299 views

154 views

### How do get an output table or a plot of individual variables from NDSolve output

I have the following equations and settings: ...
181 views

### Substituting values in 3j symbols

I believe these three expressions should give the same answer of -1/Sqrt[3], but the first gives +1/Sqrt[3] whereas the second ...
601 views

### Forming an upper triangular matrix from the elements of a list

I asked this question before, but i was closed because it the question was not comprehensible enough. So i reworded it, hope that's ok. I have a list with 6 elements. ...
113 views

### how to solve an optimization problem in terms of matrices as the argument

How can I minimize an expression of the form a^T A a where a is a matrix. The following approach does not work if ...
80 views

### Using ImplicitRegion to define an ellipse around Multinormal distribution for integration

I have both a 2D 'MultinormalDistribution', and also a single xy point, and I would like to be able to calculate the probability of this point (given the multinormal distribution) and also plot an ...
116 views

### Series expansion for $\frac{x}{1- \frac{1}{x}}$

I would like to expand $\frac{x}{1- \frac{1}{x}}$ as \frac{x}{1- \frac{1}{x}} = x \left( 1+ \frac{1}{x} + \frac{1}{x^2} +\frac{1}{x^3} + \cdots \right) = x + 1 + \frac{1}{x} + \frac{1}{x^2} + ...
115 views

### Manual maximum likelihood estimation of a mixture with no closed form

Let $X$ be a random variable that is from a mixture of two Lognormals (Lognormals(mu1,sigma) and Lognormals(mu2,sigma)) and set $Y=X_1+X_2+...+X_{10}$ a sum of 10 random variables from this mixture. ...
292 views

### Unexpected behavior when using SortBy as a dataset filter

I am still experimenting with datasets. Recently I tried to query the Titanic example to get info on the oldest passengers. Here is what I tried ...
120 views

### Is it possible to change the fontsize when printing a notebook in the working enviroment?

I want to print a notebook that owns syntax color,I use the Szabolcs's method SetOptions[\$FrontEndSession, PrintingStyleEnvironment -> "Working"] Then I can ...
141 views

### User-defined DistanceFunction for RegionNearest

In the function Nearest , I can define my custom function using the DistanceFunction option. e.g: ...
115 views

### Displaying subscripted symbols with TraditionalForm

I have pasted this code in from Mathematica 10 ...
168 views

### How to name a variable with the value of another variable?

A simple but very important (at least for me) question. In some languages for defining a variable, for example, we can do: i=10 "d"&i=30 So I have defined the variable d10, and... d10=30 ...
327 views

### How to prevent function from passing values to slot

For the following example: {#, #} & /@ {1, 2} I am trying to find a method to hold one of the slots (or both ) so that the function do not pass the values to ...
191 views

### Graphic using manipulate runs too slow

Here is a naive coding of a projection of a point on a sphere. It runs very slow. Can it be changed to run faster without losing its essential analytic character? ...
43 views

### how to extract a matrix and a vector from a vector [duplicate]

I have a vector like this: V = {a*exp1+b*exp2+c*exp3, a*exp4+b*exp5+c*exp6, a*exp7+b*exp8+c*exp9} and I want to get : ...