# All Questions

8 views

### ContourPlot: Different Colouring for Closed and Open Contours

I make a contour plot of a function as follows: ...
13 views

### How to get information from map using mouseover?

Assume I have the following zip code data: ...
19 views

### Intersection of all sublists of a list

I want to get the intersection of all sublists of list in an easy way. ...
15 views

### Can I embed a cloud object on my website without the need for viewers to register?

When I use EmbedCode[CloudDeploy["hello, world"]] and put the result to my website, only a registration form appears.
68 views

### Best way to count this?

I'm trying to use the Count function for this purpose, but it's not working how I'd like it to. Does anybody know a simple way to do this counting? I would like to be counting the number of "p"s in ...
80 views

### Filtering the close values from the list?

I found some difficulty to flatten the data. Let's say we have a list such that, list={-0.0223, -0.0199, -0.0195, -0.0159, -0.0159, -0.0122, -0.0126} You can ...
46 views

### Trapezoid Integration over a list of pairs

I have two very connected questions: Is there really no built-in function to integrate a list of pairs without converting to a function? Something like: ...
27 views

### Change some elements at the second level of a list based on some conditions

I need to change some elements at the second level of a list based on some conditions. I have the following list of objects of the same type: ...
52 views

### Use of Apply in Mathematica [on hold]

I have written the following snippet of code: ...
58 views

### Progress bar for FullSimplify?

Sometimes FullSimplify takes a really long time and it is not really clear if it makes sense to wait another half an hour in hopes for it to finish, or if it will ...
29 views

### “Iterative Approach” for solving system of nonlinear equations with symbolic parameters [on hold]

I need to write an "iterative approach" like the one proposed in the picture (which is originally for a 5 / 5 sys. of N.L equations) and expand this approach for solving my system with one more ...
19 views

### Why some alpha + Evaluate return Pod, some return only return an Entity?

Why some alpha + Evaluate return Pod, some return only return an Entity? Here is an example
28 views

### Bug in PiecewiseExpand and Mod with assumptions

The following code using PiecewiseExpandand Modgives the wrong answer ...
22 views

### How to make the background lines in PlotTheme -> {“Detailed”} more visible?

The following code ListLogLogPlot[{1}, PlotTheme -> {"Detailed"}] adds thin dashed gray lines to the background. It is ok visible in the notebook but barely ...
31 views

### External and internal Assumptions on PiecewiseExpand and Mod

After this question I'm intrigued about the different behaviors depending where and how the assumptions are given. ...
15 views

### Simple Two-Axis Plot in Mathematica? [duplicate]

Is there a simple way to implement a two-axis plot in Mathematica? On Quora.com there is a suggestion to use Show to combine two different plots with the same x-axis domain and with y-axes on ...
27 views

### Simplify Mod to subtraction when possible

FullSimplify[Mod[t,10], t>101 && t<109] It's a long shot, but can I get Mathematica to return t-100 or something ...
26 views

### Re-parameterizing sections of a Bézier curve; getting error I don't understand

I am using Michael E2's answer to this question in order to get my results. My code should be quite general, but I get a really basic error which I don't understand. My code: ...
22 views

### Relative Volatility Index in Mathematica

How does Mathematica calculate Relative Volatility Index?
76 views

### Why does Nearest not support Sqrt?

Simple examples with two points nf1=Nearest[{{0, 0}, {Sqrt[2], Sqrt[2]}}] nf1[{0, 0}, {All, 2.1}] gives {{0, 0}} This is ...
24 views

### Mathematica 10.2 Notebooks Freezing

I've been having a problem with notebooks in Mathematica 10.2 freezing up on my Windows 8.1 laptop. It seems to happen when I am typing input. The notebook freezes (become unresponsive) for 30 secs ...
25 views

### Formatting legend text font multiple times

I have the same question as asked in this question. With the difference that I want to change multiple legend entries. I tried: ...
72 views

### Symbolic sum of Stirling numbers gives wrong answer

This issue originated from my attempt to answer a question on MathOverflow: Sum[StirlingS2[i, 2], {i, 0, n}] on Mathematica 10.2.0.0 gives as answer ...
131 views

### Through does not work with Subtract

Through[(Max - Min)[#]] & @ {1, 2, 3, 4, 5} gives 5 + (-Min)[{1, 2, 3, 4, 5}] Of course I can work around by ...
74 views

### WSTP hangs up in Mathematica 10.2

I have a problem with WSTP in the newest version of Mathematica. I get the same problem on Ubuntu 14.04 and Mint 17.2. Using the pre-built examples (...
41 views

### Select elements from a list

I need to transform millisecond data of trades of a certain stock to (approximately) minute data. The data is of the form ...
52 views

### Pick the maximum element of each nested list

Suppose that I have a list with nested lists, where each nested list contain entries consisting in 3 columns: ...
87 views

### Solving non-linear differential equation

For my research project I need to solve the following integral ...
46 views

### Plotting the PDF of a Binomial distribution

I want to plot the histogram and pdf of 2 X - 100 with X a binomial distribution, but I'm having trouble with the pdf -- I just ...
44 views

### How to do this replacement without a for loop?

I'm new to Mathematica and I'm trying to get past my desire to use For loops for everything; can somebody tell me a simple way to make this replacement? I want my input to be ...
30 views

### FM NMOR in Cesium with Atomic Density Matrix package

I am trying to use the atomic density matrix package in Mathematica to simulate FM NMOR in Cesium. The example given in the package is for a specific system from J=1 to J'=0. I am trying to simulate ...
59 views

### How to find all possible paths with as many edges between two same vertices?

Suppose I have an undirected graph G = Graph[{1 <-> 2, 2 <-> 3, 2 <-> 3, 3 <-> 4}] I used ...
302 views

### Find a sequence given the sums of its terms

For a certain sequence of numbers, the sum of the first $n$ numbers in the sequence is given by $n^3+4n$ for all positive integers $n$. What is the fifteenth number in the sequence? How do you ...
34 views

### Export numeric data with preset decimal places

I have a table of pairs of numbers, each with 300 decimal places, which are all important. If saved using Export["data.dat", data] and then imported back via Import["data.dat"] - then the 300 decimal ...
21 views

### can CDFDeploy command work via JLink

I tried the following command in notebook. It creates a .cdf file. ...
30 views

### Why is Ticks not honored by DateListPlot and DateListLogPlot? [on hold]

In Mma 10.2, I see ticks on the following plot: ...
17 views

### about confidence interval [on hold]

I am thinking about the confidence interval for predicted value: For example: $$Y_{n,1}=X_{n,p}\beta_{p,1}+\epsilon_{n,1}$$ suppose $\epsilon_{i}$ is i.i.d for all $i=1,2...n$, with variance ...
38 views

### Setting precision globally

This question is similar to this one and to this one. My code involves a lot of calls to Mathematica's N function, with the second argument (precision) set to 100 (say). I'm happy with the code, it ...
103 views

### Average positions in a 1D random walk

I wrote this to simulate m random walks of n steps ...
53 views

### Export Mathematica to $\LaTeX$ properly

I am simply trying to convert an existing sample in Mathematica to $\LaTeX$. For example, if I open a new Mathematica notebook using styled templates such as Journal article and save it as $\TeX$. ...
26 views

### Aborting an evaluation automatically after a specified time elapsed

I use the following code to evaluate a series of notebooks: nb1 = NotebookOpen["C:\\Users\\....nb"]; SelectionMove[nb1, All, Notebook] SelectionEvaluate[nb1] ...
150 views

### Extract bibliography from a PDF document

I am trying to extract bibliographies from academic papers which are in pdf format, and I have to do this for 100+ papers. My goal is to create a network of citations amongst the authors and identify ...
27 views

### Shade where a function f lies below a function g [duplicate]

I have two functions: f[x_] = 2 Cos[x] g[x_] = -Sqrt[3] I find the points of intersection. ...
42 views

### Introducing dashing to distinguish curves in a multiple curve plot

To combine in 1 plot data with 2 scales, I use the following solution: ...
56 views

### How to visualize multiple errorbars for one data set with ErrorListPlot?

I have a following problem: I am performing error analysis for my data set using multiple technics. Obviously, at the end of my analysis I want to compare the errorbars plotting them on the same ...
43 views

### Prevent Plus from reordering terms by default? [duplicate]

Writing Plus[a,b]//FullForm gives back Plus[a,b], while Plus[b,a]//FullForm again returns ...
67 views

### Sum to Product Trig Identities

All, I was enjoying sum to product trig identities in Mathematica, smiling that it was going well, producing the same answers trig students get by hand. ...
94 views

### “renormalising” a list [on hold]

I am looking for the most effective way to solve the following problem: EDITED (for clarification): I have a large table MyTable, say $200$ columns and $10^5$ ...