2
votes
1answer
52 views

Simplify on a structured array

Why doesn't Simplify and FullSimplify operate on object generated using SymmetrizedArray? ...
6
votes
0answers
47 views

Enigmatic message about MaxBend

Referring to the method I proposed for Problem with ParametricPlot Mathematica 10.0.2 throws an enigmatic error message: ...
4
votes
1answer
103 views

NDSolve to solve a PDF

I would like to solve numerically the following PDE: $$ \frac{\partial}{\partial t} p(x,t)=-\frac{\partial}{\partial x}p(x,t)+\frac{1}{2}\frac{\partial^2}{\partial x^2}[x^2\,p(x,t)],\;x\ge0,\;t\ge0, ...
0
votes
0answers
29 views

Copying an Imported List to another File

I have a file which begins with a large list of elements created by joining 12 different data imports, which I would now like to copy to another file so that the file can be sent by itself and not ...
0
votes
0answers
37 views

Integro differential eq boundary difficulties

I'm trying numericaly solve simple integro-differential equation, but have some problems with boundary conditions. System: ...
2
votes
0answers
22 views

Calculating number of discernible colors in CIE La*b* space

How can Lab space be easily splitted into unity cubes and determined number of cubes that colours of certain image occupy?
3
votes
2answers
71 views

Is there a function for “flattening out” and setting to 0 an expression?

For example if I have some complicated expression (all variables are positive integers) but I want to multiply everything out so there are no denominators and then rearrange so that it is equal to 0, ...
0
votes
0answers
28 views

Does the two function for the same input leads to same output?

The first function is y[n_]:=x[n]+0.5*x[n-1]+0.25*x[n-2] the other is y[n_]:=a*x[n+1]+b*x[n]+c*x[n-1] Does exist some ...
3
votes
3answers
74 views

Express block matrix in terms of matrix basis

I'm trying to construct a function that returns the multiplication table of a matrix Lie algebra. Assuming a basis of matrices, my definitions: ...
0
votes
0answers
36 views

TTest - which one Mathematica uses? [on hold]

I am trying to perform a t-test in the following manner: TTest[{data1, data2}, 0, VerifyTestAssumptions -> All] I need to know which t-test Mathematica uses ...
0
votes
0answers
33 views

Plotting a 2D shape that along a helical path [on hold]

How to ? I am trying to build a pair of feed screws that feed a container oriented in one direction, while turning the container 90°, when the container is discharged from the screws. Example: ...
-1
votes
0answers
35 views

A moving point on a parametric curve [on hold]

When trying to draw a moving point on my parametric curve I did that: ...
1
vote
3answers
120 views

How to do a Check for every element in the list?

I know how to do a Check for the list in general: ...
0
votes
0answers
19 views

List Plot all rows of matrix [on hold]

I have a matrix of values, and I wish to generate a list line plot of each row. Given, mat = Table[RandomReal[1], {i, 1, 10}, {j, 1, 10}] something like ...
0
votes
1answer
54 views

How can I stop Mathematica from omitting Axes on a Plot?

I'm trying to plot something using Plot[], and Mathematica keeps leaving off one of the axes. I can set Axes->{True,True}, ...
0
votes
1answer
34 views

How to “de rationalize” a number? [on hold]

How can 1/2 be represented as 0.5? Thanks!
0
votes
1answer
27 views

Different behaviour of Map and Inner in replace rules

Why does x[{1, 2}] /. {x[l_] -> Map[func, l]} {1, 2} not behave as expected, while for example ...
1
vote
5answers
132 views

How to split list to strings?

Considering a list: lst = {"1", "2", "3", "4", "5", "6"} How can I have two strings : str1 = "1, 2, 3" str2 = "4, 5, 6" ...
1
vote
1answer
45 views

`ResamplingMethod -> None` in `TimeSeries` does NOT take any effect in v10.1

Possible bug in v10.1 ResamplingMethod -> None in TimeSeries does NOT take any effect in v10.1. Try: ...
0
votes
1answer
25 views

Add elements of one list to sublists of another list [duplicate]

I have the following list of sublists with different lengths {{1,1,1},{2,2},{3,3,3,3}} and a second list {4,5,6}with the same ...
-1
votes
0answers
18 views

How can I solve this problem in graph theory? [on hold]

How can I show that d(X) + d(Y ) = d(X ∪ Y ) + d(X ∩ Y ) + 2e(X \ Y, Y \ X) if G be a loopless graph and X and Y be subsets of V ?
0
votes
0answers
27 views

Why command Limit has problem in some examples?

I consider limits of function in Mathematica, using instruction Limit. And I know that Mathematica has problem with computing limit of function for example 1/x when x->0, it returns Infinity. But ...
2
votes
1answer
27 views

Is there a way to Collect[] for more than one symbol in Mathematica 10.0?

This question has already been asked three years ago (Is there a way to Collect[] for more than one symbol?) but I'm not allowed to comment since I'm new at Mathematica StackExchange. The first ...
2
votes
1answer
54 views

Efficient way to perform local Otsu thresholding on image

I have images of cell nuclei that have locally varying intensity distributions. Therefore, I need a robust local threshold algorithm. LocalAdaptiveBinarize works ...
18
votes
3answers
290 views

Bug in MovingMap (breaking change between version 10.1 and 10.0.2)?

The MovingMap window spec has been changed between version 10.1 and 10.0.2. Version 10.0.2 ...
2
votes
2answers
190 views

How to generate a random, relatively prime number to p?

I'm sorry if this is an obvious question, but I'm a newbie and googling didn't help me much. Is there a way in Mathematica to generate a number q coprime with ...
1
vote
1answer
59 views

calculate variance of conditional sum of Normals

Let $\quad W \sim N(\mu_0, \sigma_0^2), \quad X_1 \sim N(\mu_1, \sigma_1^2), \quad X_2 \sim N(\mu_2, \sigma_2^2)$ denote independent random variables, and let $c$ denote a constant. I want to find ...
0
votes
1answer
49 views

3D scatter plot with labels [on hold]

I am doing 3-D scatter plot with labels and using the following code ...
0
votes
0answers
30 views

How to export to iwork's numbers format?

I have a matrix with images down its first column and I'm trying to export to a spreadsheet in Apple's Numbers (see the screenshot below). I've never tried this type of export before, any ...
3
votes
2answers
100 views

Combining memoization and SlotSequence

I found myself writing memoizing code like this: ...
3
votes
3answers
131 views

How do I plot a filled cylinder in 3D?

All, I'm trying to plot a filled cylinder in 3D using Graphics3D and then take 2D slices of said cylinder. I know that Cylinder is officially 'filled', but the 2D ...
0
votes
0answers
43 views

Loop over elements of list and output to table [on hold]

I have little experience with flow of control in Mathematica and the following task seems daunting to me. I need to evaluate the same set of expressions to all the elements of a list, and then output ...
0
votes
2answers
46 views

Help in evidencing a region (circular) of a .tiff image and cropping all the rest of the image

I'm asking for the community help since I have problems in cropping an image. I'm having LEED images which are 576*720p, which are made by a big black region at which middle I have the image I'm ...
0
votes
0answers
24 views

How to use ScheduleTask in a dynamic module? [duplicate]

I have a little timer widget that times two separate tasks: It is simple enough, but I can't see why it's not working. Am I not understanding the connection between ScheduleTasks and Dynamics? ...
4
votes
0answers
61 views

What is the purpose of Refresh? [duplicate]

I never quite understood the point of Refresh. Why would I do this: Dynamic[Refresh[DateString[], UpdateInterval -> 1]] when it is the same as ...
2
votes
0answers
64 views

Why don't products of Dirac deltas integrate correctly?

The integral $\int \int \ \delta(x) \delta(y) \ dx dy=1$ evaluates to 0 in Mathematica ...
7
votes
0answers
48 views

How can I easily visualize density plots with singularities with the least loss of detail?

I'm trying to visualize electric fields. StreamPlot is helpful: ...
1
vote
4answers
94 views

Mean duration between two specific data points

I have dataset such as: ...
0
votes
0answers
27 views

How can I export a notebook into multimarkdown?

Mulitmarkdown (.md filetype) is a very nice document format that supports rendering mathematical expressions like latex or mathml, rendering syntax highlighted code blocks for any language, as well as ...
3
votes
4answers
97 views

How to combine selected out cells into a list? [on hold]

I have a loop that was printing out results, and now I'm left with many cells in different sections and I need to combine them (the values in them) into a list I can work with. For example, applied to ...
0
votes
0answers
21 views

Dice expirements and random variable? [migrated]

Suppose I define a random variable X such that it represents the sum on the dice thrown. Now there are two ways to do the experiment 1) I use 2 dice, note their individual Xi (R.V) and then find ...
3
votes
2answers
73 views

Two bit strings represented as lists – how to color differing bits as red while printing?

Assume the following code generatedMsg = {1, 0, 0, 0, 1, 1, 0}; transmittedMsg = {1, 1, 0, 0, 1, 0, 0}; Now, I want to print out something along these lines: $$ ...
1
vote
1answer
133 views

How to plot the graph of the equation F[x,y]=0 if y is real number, x is complex? [on hold]

I have an equation F(x,y;a,b,c,...)=0, where x and y are variables, a,b,c,... - parameters. y is a real number, x - complex. For every given y I need to solve this equation, i.e. to find Im(x) and ...
0
votes
0answers
15 views

How to monitor parallel mapping a function over a list? [duplicate]

For instance, how to monitor the progress of ParallelMap[function, list]?
2
votes
0answers
50 views

Is there any faster implementation of DominantColors?

The function DominantColors is a simple function but runs incredibly slow when the number n of dominant colors to find is large - it is currently the biggest bottleneck in my code: ...
2
votes
0answers
31 views

How do I print multiple slides per page?

I have a Mathematica 10 presentation (not made by me). The slides are very short and very many. I'd like to print it, but printing 100+ pages each with 2 or 3 equations seems like a waste to me. Is ...
-2
votes
0answers
40 views

Define a Mathematica function for f (roots, negative roots, tangent line) Homework questions [closed]

My real question is part 5. As the exact negative root comes out relatively long with square roots, etc (it is not a simple number), I cannot figure out how to find the y-value for the tangent line at ...
0
votes
0answers
26 views

Why are the labels twitching vertically in TimelinePlot?

Why are labels jumping up and down here: ...
0
votes
1answer
37 views

Unable to Solve (for arclength parametrization)

I am having trouble with Mathematica while trying to re-parametrize a curve with respect to its arclength. I need to get the old parameter s written in terms of arclength a so the code is ...
2
votes
2answers
109 views

Filling graph between lines and plots

I would like to create a filling delineated by the plots and lines as specified below: ...

15 30 50 per page