# All Questions

4 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
8 views

### Bug in PiecewiseExpand and Mod with assumptions

The following code using PiecewiseExpandand Modgives the wrong answer ...
7 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 ...
19 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. ...
10 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 ...
17 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 ...
10 views

### Error: Part specification is longer than depth?

I am following this topic in order to get my resuls. This code should be quite general but I get a really basic error which I don't understand how... So my code is: ...
52 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 ...
21 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 ...
11 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: ...
53 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 ...
65 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 ...
45 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 (...
39 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 ...
46 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: ...
71 views

### Solving non-linear differential equation

For my research project I need to solve the following integral ...
40 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 ...
39 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 ...
28 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 ...
56 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 ...
220 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 ...
28 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 ...
20 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 ...
33 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 ...
100 views

### Average positions in a 1D random walk

I wrote this to simulate m random walks of n steps ...
51 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$. ...
24 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] ...
144 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. ...
41 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: ...
54 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 ...
41 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 ...
64 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. ...
92 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$ ...
24 views

### magnitude of multiply different complex numbers are equaled whearas they are different [on hold]

There are three complex numbers: A,B and C. Is there possible that ...
38 views

### Displaying Graphics in Mathematica [on hold]

I know this is a really dumb question, but I've been trying to display graphics in Mathematica so I can play around with the new pentagonal tiling that was recently discovered. I have this code from ...
56 views

### SetDirectory has problems when path is long and contains too many “_”

The following example code does not work (error: "Cannot set current directory ..."). I am running Mathematica 10.2.0.0 on Windows 10. ...
53 views

### How to determine the redundant equation in the set of DE?

my problem is messy, and I will use a simple problem to explain my problem. Suppose, we have a set of DE: ...
57 views

### How to plot relation in mathematica? [on hold]

How to plot relation here? I want to plot -arctan(sin(x))*(x)+ arctan(sin(x))*(y)=sin[arctan(sin(x))*(y)+ arctan(sin(x))*(x)]
217 views

### How can I add a mesh over this?

How can I add a mesh over the following 3D plot? ...
55 views

### Fail to call an executable [on hold]

The question is related to the question here. I do not know if it is better to open a new post as I did here or make an edit there and delete the current post. I have one executable file called ...
32 views

### How to run existing mathematica nb from Java

I have the Mathematica notebook (Test.nb in this case), how can I run in from Java? So far I have the following code. If I type: ...
22 views

### Different results with BSplineSurface and BSplineFunction

There seems to be some differences when plotting a surface with BSplineSurface and with BSplineFunction. ...
87 views

### Plotting a hat function

I want to plot a hat function which is zero on [-1,1] except (-0.01,0.01). I have tried: Plot[Piecewise[{{1 - Abs[t], -0.01 < t < 0.01}}, 0], {t, -1, 1}] ...
68 views

### Problem with NIntegrate and FindFit [on hold]

I fit the experimental curve with the model using the following equation, ...
45 views

### General suggestions to accelerate Simplify and FullSimplify

To my understanding, the function Simplify[] and FullSimplify[] work by applying a series of built-in transformation rules to ...