# All Questions

112 views

### How can I reshape my solutions to make a 3D plot?

I need some help on the following. I need to run Solve for multiple values of a and b. To do so instead of using Do, I use ...
106 views

### Dynamic arrays and lists with compile (Append, Linked lists etc.)

I have a code that I need to compile. The code contains a loop in which I need to gather data into a list. The question is how to best gather data so that the code works inside Compile. The following ...
44 views

### FrontEndObject::notavail: error when using math

I am new to mathematica script and thus I don't know whether this generated error is natural or not. When I write a command such as echo "3" | math in the ...
53 views

### Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
187 views

### How can i subtract a surface from another

I have one surface which i got with using analytical solution. And one by ListPlot3D. My question is how can be withdrawn from the one from the another. ...
138 views

### why MeanFilter is nearly 100 times slower than MovingAverage for 1D array?

I used to average over my data with MeanFilter before I learn about MovingAverage and thought that these two functions are similar except that MeanFilter is more powerful for its ability to deal with ...
68 views

### Applying a texture to part of a sphere

I am trying to texture a sphere with a picture of myself. I don't want it to be stretched across the whole sphere but only to appear on the front. I used ...
158 views

### Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook

Since update to 10.1.0.0 Mathematica has a high CPU usage even when no evaluation is running (even for empty notebook opened). I am running OS X Yosemite 10.10.3 on the following configuration: ...
180 views

### How to draw a tropical surface?

By definition, a tropical surface in $\mathbb R^3$ is the set of points $(x,y,z)$ where the maximum $f=max(f_1,f_2,\dots,f_n)$ is attained at least twice, here $f_i$ stand for some linear functions of ...
155 views

### n-fold convolution

I am trying to calculate n-fold convolution of a function as $G^{*n}(x)$ where $G(x)=1-a*exp(-b)+b*ln(b)$. I tried this function, Convolve[G[x], G[x]^{n - 1}, x, x] but it didn't give any answer. ...
23 views

### STL exports as flat rectangle

I have this code to graph a 3D surface and fill it to the axis: ...
17 views

### How can I get the 1-ring neighbor of mesh triangle?

I have an .obj file. I import it into my mathematica and get the vertices and also triangles as follows: ...
170 views

### Can't inject EncryptedObject

Here are minimal examples: ...
53 views

### How to list plot data where the slope determines if it is plotted from a list of data?

I am trying to listplot data from a list of data where the slope of the curve determines if it is plotted. Example: Lets say the data measured is of the form x^2. I measure this data multiple times ...
9k views

### Is there an open source implementation of Mathematica-the-language?

I've seen questions before such as "What is the best open-source equivalent for Mathematica?", but that specific question (and that line of inquiry in general) cares more about the computer algebra ...
33 views

### How to make a widget float?

Is there an option or way to make a GUIKit window remain in on top of other application's windows? ...
29 views

### What is Duration in MonitorLM output?

What is duration specified in MonitorLM output? Is it start hour and minutes or is it total number of hours and minutes used?
33 views

### Use two functions for x and y coordinates for a plot [on hold]

I try to make a plot out of two functions. It is a cycloid I want to plot. These are my two functions: ...
40 views

### Optimization of custom probability distibutions?

Consider the two tests: Timing[Do[RandomVariate[NormalDistribution[0.5, 0.3]], {200}]] {0.001188, Null} ...
29 views

### Replace parts of nested lists

I have list of stock data as follows: lis1= {{{1992/10/12, 126.946, ^AEX}, {1992/10/13, 127.85,^AEX}}, {{1992/10/12, 88.487, ^AFLI},{1992/10/13, 91.825,^AFLI}}} ...
47 views

### How to replace a part of array based on certain rules which involves usage of other array

I am trying to replace outermost column of array "fd" in below code. fd is matrix of dimension (nas1,nts) which is initially filled with 1. I want to replace outermost column of fd with result of Max ...
62 views

### Integrate fails for generic parameters but works for any specific values

I was trying to get the following integral ...
82 views

### 2D Interpolation of data file

I hae a datafile with 5 columns of the structure: x_i f(x_i,y_1) f(x_i,y_2) f(x_i,y_3) f(x_i,y_3) f(x_i,y_4) with i = 1 to about 100. Thus there are about ...
225 views

### List and patterns

Given some tuple $\{N,M,L\}$ such that $N\geq M\geq L\geq 0$ and $N>0$, how can I generate all tuples $\{n,m,l\}$ such that $n\geq m\geq l\geq 0$ and such that ...
22 views

### Convert the output of solve into equality [duplicate]

I know this is has been asked before but seriously, none of the ones I checked helped because they referred to a single variable assignation. Apologies if this is a duplicate. I have many variables ...
38 views

### How to calculate a linear regression on the HP 40gs calculator? [on hold]

I have a question like my title explained. I'm not really a fan of using this calculator but for my studys I have to. So for a simple example, how to I make a linear regression on the HP 40gs on the ...
56 views

### Completion in terminal?

I know that it is possible to run Mathematica in Terminal. But I didn't find a way to get completion work in Terminal. I mean completion by ...
19 views

### Local SEnsitivity Analysis [on hold]

Would some one lead me to a reference where I could have a detailed idea about some local sensitivity analysis methods.
27 views

### Root: Simplifying symbolic expression

I'm doing calculations with a lot of symbols, which don't always gives nice expressions. Now I have a solution with a Root-expression, where the coefficients are symbolic, e.g. ...
49 views

### Phase space plot [on hold]

I solve a dynamical system problem using NDSolve. I plot the results using ParametricPlot. Is there any way that I could get a ...
28 views

### Get Coefficient of polynomial excluding variables

I'd like to write a function that returns the coefficient of a polynomial, but excludes some 'cross-term' coefficients. The function could be called CoefficientExclude, and the first argument would ...
43 views

### PlotLegends in ListPlot does not display different markers

I would like to plot a graph with the legends at its side. However, I have managed to plot the legends, but the markers do not match the one in plot (picture bellow): My code for that plot is: ...
362 views

### What does None mean in a control specification for Manipulate?

I am now struggling to understand code that contains the following (simplified) Manipulate structure. ...
27 views

### Find volume of a translated and rotated ellipsoid below xy (horizontal) plane

I am trying to find the volume of the lower part (above horizontal plane) of an ellipsoid that is clipped by the horizontal (or x-y) plane. This ellipsoid is also translated (i.e. origin is not at ...
35 views

### Dimensions of pdf generated by Export[…]

I'm trying to export a Grid table to pdf. When I display the table in the notebook, it has a very long aspect ratio, which I want to preserve in the pdf. However, ...
47 views

### Diverging solution to coupled second order ODEs from NDSolve

For a physics application I am considering the radial Bogoliubov-de Gennes equations in two dimensions. In dimensionless form they read as follows  \begin{cases} ...
53 views

### Copy and Paste Equations Mathematica [on hold]

How do I export a pdf from Mathematica such that I can paste the code back into Mathematica and restore the formatting. Related: ...
70 views

### Put labels sloped along axes in ListPlot3D

The three text labels in the following figure are all in horizontal direction. How to put the labels sloped along each axis to which it is attached? My Code ...
39 views

### Why won't the Rule work? And how to apply it to a combination of variables?

I want to convert SI to Gaussian units given vectors: ...
85 views

41 views

...
51 views

### Twilight Zelda Guardian Puzzle : Shortest Path Proof [on hold]

I'm playing a video game right now and in it is a puzzle (see here). There are solutions to solving it (see here) on the Internet, but I'd like to know if this path is the shortest path (least amount ...
92 views

### How to combine VectorPlot and Plot3D

I have a problem with VectorPlot and Plot3D, and I have a code for both but I dont know how to plot the same figure. Here is the code for Plot3D: ...
39 views

### Removing gutter shadows from scanned pages

I am new to image processing, and I was hoping someone might set me in the right direction. I am trying to create a simple toolkit for personal use for digitizing scanned book images into a database. ...
58 views

### How to make new line in mathematica file output?

I know that new line is classically made by "\n". I want to make a string with lines of data and then export it into a file: ...
32 views

### Find the Inverse z(x) in applies z(x)/z(x-1) = y [on hold]

If we know z(x) the zeta function, and applies z(x)/z(x-1) = y. Find the Inverse z(x) i.e z^-1(y) = x