Mathematica Weekly Newsletter
Mathematica Weekly Newsletter

Top new questions this week:

A bug in Integrate

Integrate[(1 + 16 Tan[2 x - y]^2)/(1 + 4 Tan[2 x - y]^2), {x, 0, 2 π}] Mathematica (wrong) output is (tested under versions 8 and 10.0, took ~ 1 minute of CPU time) 10 π The correct value of this ...

numerical-integration calculus-and-analysis bugs  
asked by Vaclav Kotesovec 17 votes
answered by Histograms 11 votes

What is the FrontEnd?

Can anyone sort out what the Front-End is, how it is structured and what its relationship to the Kernel is. The FrontEnd is mentioned quite often but elusively avoids to be caught and clearly defined. ...

asked by MathLind 15 votes
answered by Mr.Wizard 11 votes

Regime Change Stochastic Process

I would like to simulate an Ito process in which the drift and diffusion terms change after hitting a boundary for the first time. For example, a Geometric Brownian Motion X which has 0 drift and ...

random stochastic-calculus  
asked by Shffl 12 votes
answered by Sjoerd C. de Vries 9 votes

How to speed up Colorize

I have a list of about 500 images similar to the following: A = Import[""] AbsoluteTiming[Colorize[A, ColorFunction -> "AvocadoColors"]] Gives ~ 0.6 ...

performance-tuning image-processing  
asked by DarrenM 11 votes
answered by bill s 7 votes

Does Mathematica have an equivalent of Python's float.as_integer_ratio?

The Python programming language has a float.as_integer_ratio(x) function which exactly converts an IEEE 754 floating-point number into a numerator/denominator pair of integers. For example: ...

asked by David Zhang 10 votes
answered by Guess who it is. 15 votes

Does Mathematica have an equivalent of C's nextafter?

In C (and many other programming languages), there is a function double nextafter(double x, double y) which takes two (IEEE 754) floating-point numbers and returns the next representable ...

numerics machine-precision  
asked by David Zhang 9 votes
answered by Michael E2 5 votes

How can I make FilledCurve smoother?

In How can I generate and randomly assign color to annular sectors? J.M. showed an interesting way to create a sector graphic using FilledCurve. Unfortunately it was marred by an inferior rendering ...

graphics options undocumented splines rendering  
asked by Mr.Wizard 9 votes
answered by Mr.Wizard 9 votes

Greatest hits from previous weeks:

Alternatives to Mathematica

Inspired by the recent question Alternatives to LaTeX (currently 58 upvotes) on Are there any paid-for or open source alternatives to Mathematica which produce equal or ...

asked by akk 28 votes
answered by Sumit 17 votes

$\LaTeX$ and Mathematica

I quite often would like to draw graphics in my $\LaTeX$ documents using Mathematica. I have encountered three problems. I would like to know if there are any workarounds to these problems I would ...

graphics export latex  
asked by Thomas Rot 73 votes
answered by Simon 32 votes

Can you answer these?

Export to MX seems to corrupt the in-memory Dataset

I have a function that does a large number of calculations (by calling out to other smaller functions), and then builds a large Dataset object. Then I do two things with the object: (a) I write it ...

export dataset  
asked by Shredderroy 2 votes

LogisticSigmoid residue bug?

On version 10.0 for arm: Residue[LogisticSigmoid[z],{z,I Pi}] gives 0 not 1. Can anyone reproduce this?

calculus-and-analysis bugs  
asked by pdmclean 5 votes

ImageAssemble and Export gif takes too much memory

Errr.... First Let's create some gifs: dir = CreateDirectory@"D:\\lalala\\img_test"; data = RandomReal[{0, 1}, {8, 100}]; i = 0; (i++; Export[FileNameJoin[{dir, ToString@i <> "r.gif"}], ...

export image memory imagedata  
asked by Harry 1 vote
Subscribe to more Stack Exchange newsletters

Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3