# All Questions

2 views

### Bar legend to Contour Plot

I have a set of 4 contour plots and I show them with the simple Show. How do I present a legend that is the same for the whole set? i.e., the scale needs to truly represent the set and not the values ...
130 views

When I enter ...
8 views

### Generating a Variable Number of Dynamic Variables

I know questions that get at this very issue have been posed in other ways here, but as a relative beginner, I've had trouble understanding the answers. For my application, I am developing a simple ...
12 views

### What's real analogue for FromDigits?

FromDigits only works for integer strings. What's its real-number analogue?
11 views

### Finding the true expectation

I have the density function and I want to determine its expected value ...
264 views

### Speeding up the non-negativity algorithm for multilinear function with interval probabilities?

The algorithm is a branch-and-bound algorithm that calculates the non-negativity of a multilinear function with interval probabilities. The lines 9-11 has an optimization that is explained on the ...
25 views

### How to use MemberQ for such Variables?

This is NOT the desired out come. I want this test to fail: ...
84 views

### Using VertexDelete to remove vertices by degree

I am trying to remove vertices that have degree less than 2, but I think I am missing something basic. I was hoping that I could use: ...
46 views

### Transform a table (list of associations) to a flat association

I would like to transform a table like ...
103 views

### Discretizing regions with pointy boundaries

I'm trying to discretize a region with "pointy" boundaries to study dielectric breaking on electrodes with pointy surfaces. So far I've tried 3 types of boundaries, but the meshing functions stall ...
23 views

### Append plot to existing plot?

I have generated a plot from t=0->1, and I wish to append another plot from t=1->2. How can I do this? Thanks in advance.
27 views

### Purpose of VertexWeight

I am trying to partition a graph into partitions of equal weight (on the vertex). I looked at the documentation, and found VertexWeight, which seems to attach a weight to a vertex. In the details, ...
14 views

### Variables within functions within DSolve

Hi I am just beginning to learn Mathematica and this is my first time I have been exposed to any type of coding. I am encountering a problem in a basic physics problem. For example we are always ...
9 views

### Can i change the default search paths?

When i try to load packages on this computer, i get an error (i already know the packages work). I think the issue might be to do with the fact that mathematica can't process the network drives, some ...
42 views

### Modular arithmetic in Mathematica? [on hold]

I want to implement something like 1 + 1 = 0; i.e., simple modular arithmetic in Mathematica. This seems like it should be a really easy built-in option, but I ...
39 views

### How to render a 3d image of the galaxy?

I recently came across the Uniview software package, there has even been a TED talk about it. Here is another example of some interactive views of star maps. In Mathematica 10 AstronomicalData has ...
188 views

### Maximize[Cos[x - 1], x] is not evaluated

No explanation needed: Maximize[Cos[x + 1], x] Maximize[Cos[x - 1], x] producing ...
53 views

### How to rearrange structure and type of an imported dataset?

I have a bigger dataset imported from Excel. Its elements have a form of {time, data}. Day is irrelevant and I would like to have the time in decimal form e.g. 10:30 is 10.5 ...
68 views

### Frontend: Adding cell-type choices to the “Choose how to enter input” drop-down

In most of the notebooks I work in, I find myself using 2 or three cell-types almost exclusively (typically regular input, and some subset of section/subsection/chapter). A minor annoyance I run into ...
30 views

### Keeping Font Relative Size to Object/Graphics/Plot Object upon Reize

I want to keep the text generated within a graph/plot to remain the same relative to an element (a disk of size 0.2) of the image upon resize, not the image itself, while maintaining the original ...
18 views

### How can I detect certain letters by shape in an image?

I have a website where people can post Flipbook animations, called Flipnotes. Unfortunately, most of the Popular flipnotes are in the following categories: MV (Music Video) AV (Audio Video) AMV ...
41 views

### Too high differential order in boundary conditions?

The following boundary value problem has a unique solution:  \begin{cases} x''-x=0\\ x''(0)=0\\ x(1)=1 \end{cases}\\ \text{General solution: } x=c_1 \sinh{t}+c_2\cosh{t}\\ \text{Solution for BVP: } ...
7 views

### Insert an element to AdjacencyGraph

I'm not able to insert an element to mine AdjacencyGraph. I suppose that i should modify my AdjcencyMatrix: ...
69 views

### How to rewrite a nested loop with Reap and Sow

I was wondering if anyone know how to rewrite the following nested loop but using Reap and Sow. I need to reduce the execution time. Thank you. ...
149 views

### Using map projections with astronomical data

I noticed that all important "Geoprojections" are available in projections for a spherical reference models: GeoProjectionData function; 1 - I am trying using the sinusoidal projection for ...
79 views

### WorkingPrecision causes issue in the NIntegrate

I really can't figure out why my code sometimes is not working. My integrals involve two variables (k and kz). The integration ...
50 views

### WSMModelData Error

I am getting this error message when I run simulation in Mathematica that makes iterations to a SystemModeler model. ...
81 views

### Permanently rounding numbers/values to a given number of significant figures

I am searching for a simple way of rounding and setting an input to a desired number of significant figures. There are a vast number of posts that discuss similar problems, but none address this ...
4k views

### how to make graphic timelines in mathematica

Hi does anyone know how to make timelines with mathematica? http://images.nationmaster.com/images/motw/atlas_middle_east/turkey_timeline.jpg something like that would be great! thanks
42 views

### Compability between Graphics coordinates and shifted projections in GeoGraphics

I'd expect GeoGraphics to handle positions of points since they are provided with GeoPosition wrapper. But it is not the case ...
75 views

### Is the divergence between Round and setting an explicit precision intentional or a bug?

Introductory remark: I take it (from Mathematica's online documentation), that Precision is effectively the number of significant digits, as seen by the system. ...
420 views

### Delayed evaluation of assignment

I have a set of PDE's that depend on parameters. They depend on many parameters, but for simplicity we can here assume that they depend only on one, say a. I want ...
87 views

### Probability of multivariate normal being positive on each coordinate

How can I find the probability that each coordinate of a specified multivariate normal distribution is positive? I tried the following, which I believed should work ...
27 views

I wrote: ...
59 views

### ControlType -> None Vs. Module inside Manipulate (i.e. making everything local)

I'm building a program on another one made available in the Wolfram Demonstration Project. I've noticed that in the original code (working flawlessly) many variables were made local inside the ...
30 views

### SemanticImport unable to properly read an Excel file with accented letters

Apparently SemanticImport fails to properly import Excel files when accented letters are present in the first (header) row. I'm using Excel 2013 on Windows 8.1 x64 ...
19 views

### Rings modulo n, units [on hold]

How many units does the ring $Z/60Z$ have? Explain your answer. How many ideal does the ring $Z/60Z$ have? Explain your answer.
414 views

### Animate point go round a triangle

How can I animate a point moving on triangle sides? I can generate traingle and point but I have no idea how to define point movement. I'm guessing that I have to use sin and cos in coordinates but I ...
16 views

### Histogram 3D: use different bin width in two directions

I'm trying to plot an histogram of a set of data, I would like to use a bin of different width in x and y direction. I've tried using the following two codes: ...
45 views

### Creating Scheduler [on hold]

I am trying to build a soft coded scheduler program. I try to create checkbox, so everybody could fill and the result will be calculated realtime. I can do it if I define individual parameters for ...
58 views

### Numerical integration: complicated 2D integral seems to be poorly estimated

In the course of some physics research I've been working on, a very annoying integral has appeared that I'm having difficulty evaluating numerically. Any help you could offer would be greatly ...
1k views

### Some tutorials on formatting notebook for exporting to pdf

I love the way that Mathematica allows me to type in of formulas. It is really easy to type complicated expressions with shortcuts on the keyboard. It would be great if I could use Mathematica ...
23 views

### I need help to solve this problem [migrated]

Let $m,n$ nenegative integers and $m>n$. Find polinom $g(x),r(x)$ from the ring $R[x]$ such that $x^m -1 =q(x)(x^n -1) + r(x)$ , $r(x)=0$ or $deg(r(x))<n$. In which case $x^n -1|x^m - 1$.
19 views

### Why does Mathematica remember print settings?

Mathematica has a strange behavior with respect to printing and saving to PDF. It remembers the print settings, such as page range and number of copies along with the file. So if I print 50 copies ...
105 views

### Polynomial expansion of operator

I am new to Mathematica, I am trying to generate the polynomial function of a operator. So for example, the operator $L$ is $\frac{\partial f}{\partial x}+\frac{\partial f}{\partial y}$, and I want ...
63k views

### Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
85 views

### How to efficiently get a list like this?

I want a function myfun that generates list like this ...
175 views

### Fit convoluted Gaussian and Lorentzian functions to a peak profile

I have a peak profile data like this: ...