All Questions

142 views

Make a program that does union of two lists

I have to make a program that gives as a result the union of two lists using a For loop. I can't figure out how to inspect if the elements of a list are different. ...
47 views

Bincounting multiple data

I have 5number of single column data files and I imported all of them using data = Table[Import["hist501" <> ToString[i] <> ".txt", "List"], {i, 5}]. Now I want to determine the bincount of ...
175 views

Is there a way to profile Mathematica code in batch mode?

I'd like to profile some Mathematica code to figure out why it's running slowly. Since the code takes about a day to run, I can't use the Wolfram Workbench GUI. Is there a way to run Wolfram Workbench ...
94 views

Mathematica: issues storing nested list on disk

having trouble with mathematica using nested lists. I want to save a list like this: l1={{a1,{a,b,c,d,e}},{a2,{f,g,h,i}}} So, the nested components do not have ...
115 views

Bug with DateListPlot with ToolTip with NumberForm?

Is anyone able to confirm if this is a bug in version 10.1 on Windows 7 Pro? I am attempting to produce a DateListPlot with ...
68 views

Simple pick up an element from above line [duplicate]

( Did not readily find from Documentation even if used before). NSolve[ 2 x^3 + x ^2 - 5 x + 2 == 0, x] How to collect roots with new labels a,b and c?
63 views

Subscripts in variable names: Bug?

In the following plot, one of the two functions {-par, par} defined by ...
211 views

MinMax function (Mathematica v10.1.0) conflicts with NDSolveFEMMinMax?

Bug introduced in 10.1.0 and fixed in 10.2.0 Some problem in v10.1.0 (Windows 8.1 x64) and the new MinMax... ...
156 views

106 views

Iterator variable not blocked in ParametricPlot

Bug introduced in 10.0 and persisting through 10.2 or later It appears that perhaps the iterator variable r is not Block-ed ...
83 views

Question RE DiscreteMarkovProcess Graph Labels

I'm trying to label the arc's of my Markov chain with symbols like $\alpha$, $\beta$, etc., to show how the Markov chain looks abstractly. So, I did this... ...
317 views

ArcTan[x,y] problems

I need an ArcTan[x,y] function that is continuous in (0,2 π) For the standard ArcTan function: ...
120 views

How to Fill ContourPlot

Given a contour plot such as function = Cos[c] + Cos[a] pltc = ContourPlot[function == 1/2, {a, 0, 4 Pi}, {c, 0, 4 Pi}]; How can I color the regions in which <...
127 views

Recreating in Mathematica a matrix created in Python [closed]

I need to recreate in Mathematica this matrix that I created in Python: ...
270 views

Fixed colors for fixed values in contourplot legend

I am trying to make a contour plot of a gravitational potential, consisting of a sum og different potential.s. I would like to plot them separately with a BarLegend that has the same colors for the ...
108 views

1k views

How to Fold over lazy lists and over tasks, just as with Lists?

Many modern languages, such as Haskell, feature lazy lists, which can model infinite sequences of values, albeit synchronously. Lately, the reactive programming movement has shown that asynchronous ...