# All Questions

574 views

### Using more than one set of Locators in a Manipulate

I need to add locators dynamically to different sets. With one set this works OK: ...
816 views

### Inconsistency in Histogram's “Probability” Binsize

Context Let me define a Probability distribution (following the documentation and with some connection to this question) ...
161 views

### How can I remove double quotes in CDF?

I wrote a small code and deployed into CDF. ...
730 views

### How can I find the vertexes of a Polygon?

I made a polygon with the following vertexes : ...
253 views

### How to find synchronization offset?

I have 2 sets of data containing delays (audio / video). ...
2k views

### Is there a notebook autosave frequency configuration?

I've had Mathematica crash on me a number of times, and have had to recreate notebook contents from the last save point. I was looking for something in the preferences like an autosave frequency ...
1k views

### How can I create facetted histograms?

I love Mathematica, and I would love to be able to use it for all of my data analysis tasks, but there is one type of analysis which I find almost trivial in R, and I have no idea how to approach in ...
308 views

### Restricted accumulation of values

Please consider the following list data. I was trying to accumulate data until the result turns positive the first time and ...
512 views

### How to export multiple Barcharts from Mathematica to $\LaTeX$

I have to make a document with multiple bar charts and export it: ...
484 views

### NDSolve Convergence test failure and significant effect of DifferenceOrder on eventual results

I am solving a non linear partial differential equation with what I call free boundary conditions (solid mechanicists would know this as simply supported). I realized that this boundary condition ...
6k views

### How to generate a RandomVariate of a custom distribution?

I'm trying to generate a pseudorandom variate out of a custom distribution. Suppose I want define a custom distribution, and for the sake of simplicity I define a Poisson distribution (the ...
252 views

### How to generalize a formula?

This is a piece of my code: ...
3k views

### How to select and delete all Output cells?

How to select and delete all Output cells in multiple notebooks programmatically without needing to (manually) opening them? How to define a hot key for deleting all Output cells within a notebook ...
332 views

### How to do equality check of a large matrix and get the corresponding index position?

Say I have a matrix A = 1000 x 5, and I want to compare it's first element (uppermost top left) to each of the 5 elements in the first column of matrix B of size 5 x 5. Whenever the first time the ...
220 views

391 views

### Select Cells to End of Notebook

I'd like to create a keyboard shortcut that will allow me to select all of the cells from the current cell until the end of the notebook, similar to how ShiftCtrlEnd functions when editing text in ...
7k views

### Given a Table of Plots with some parameter, how would I mark each of the plots with that parameter

I've got a two variable function that I'm plotting against one axis for a few different values of a parameter ...
163 views

### Reducing a statement with Mathematica, step by step [duplicate]

Possible Duplicate: Get a “step by step” evaluation in Mathematica I have a list of inequalities combined with quantifiers. And Mathematica is able to reduce to simple statement with the ...
408 views

### How can I compute the chromatic index and number of a graph?

I saw a recent question from M.R. and realized there is no function to compute the chromatic index and number of a graph, other than a really slow method in the now deprecated Combinatorica. So, how ...
892 views

### How to improve this code for solving the “Mr.S and Mr.P” puzzle?

Mr.S and Mr. P puzzle — "Formalization of two Puzzles Involving Knowledge", McCarthy, John (1987) We pick two numbers $a$ and $b$, such that $a\geq b$ and both numbers are within the range \$(2,...
836 views

### Prevent PopupWindow from opening multiple windows

PopupWindow objects can be clicked multiple times, opening multiple popup windows for the same object. How can I prevent this? A bit more detail: I have an ...
239 views

### How to protect pattern or subexpression when distributing / expanding expression?

I've got an expression like expr = (1-x)(a+b) that I would like to distribute / expand while keeping factors of (1-x) intact, ...
652 views

### Numbering element in descending order

How can I numbering the elements in descending order of second elements of sublists? For example, if I have the list which is ...
356 views

### Adding elements in the sublists

How can I add the elements in the sublists? For example, if I have the list which is m={{1,3},{2,3},{4,1}} then, the output that I want is ...
1k views

### Set Global Maximum Precision

I'm sure this has been asked before, but I've looked around and can't figure it out: How do I set a global maximum precision for a notebook (or in general, globally)? I have a large notebook in ...