4.47 Tuesday, January 24, 2017

================================== 
Top new questions this week: 
==================================

[My Girlfriend is going to prison...Save her with Math] http://mathematica.stackexchange.com/questions/135937/my-girlfriend-is-going-to-prison-save-her-with-math

Salacious title, but true story.

 dmethyl1 = { 
      {0, 0}, 
      {.25, 1}, 
      {.5, 7}, 
      {1, 26}, 
      {1.5, 40}, 
      {2, 45}, 
      {2.5, 45}, 
      {3, 44}, 
      {3.5, 44}, 
      {4,  ...

- asked by Prisoners Dilema (35 votes), answered by bobthechemist (22 votes)

—————————-

[How to use the iterator in Mathematica] http://mathematica.stackexchange.com/questions/135916/how-to-use-the-iterator-in-mathematica

I find the Mathematica has the iterator data structure. We can build some iterators like this:

Constant iterator

GeneralUtilities`ConstantIterator[5]

Key value iterator

...

- asked by yode (15 votes), answered by Michael E2 (15 votes)

—————————-

[SquaresR memory leak?] http://mathematica.stackexchange.com/questions/135781/squaresr-memory-leak

I have tried the following code in Mathematica 11.0.1.0 on my MacBook:

$HistoryLength = 0; 
ClearAll["Global`*"]; 
ClearSystemCache[]; 
MemoryInUse[] 
 
AbsoluteTiming[Do[SquaresR[2, i], {i, 1000000}];]

...

- asked by outofmemory (12 votes), answered by Mr.Wizard (18 votes)

—————————-

[SetOptions locally?] http://mathematica.stackexchange.com/questions/136005/setoptions-locally

Is there a way to SetOptions locally? For example, I have a Module and inside it I am doing a lot of Plots with similar options. If I do a SetOptions[Plot, ...] inside the Module, the change ...

- asked by becko (11 votes), answered by J. M. (12 votes)

—————————-

[Understanding simple numerical calculation] http://mathematica.stackexchange.com/questions/135636/understanding-simple-numerical-calculation

I am trying to understand why N[0.1]//FullForm returns 0.1’ (A). Indeed, \(0.1\) in base two is \(0.000110011001100110011...\). If I truncate this number to the first 52 digits and convert it back to base ...

- asked by anderstood (11 votes), answered by Michael E2 (18 votes)

—————————-

[How to work with Date calculations?] http://mathematica.stackexchange.com/questions/135713/how-to-work-with-date-calculations

I have never worked using the DateObject function

But I suspect there must be a (easy) way of doing it.

I want to find out, when in the future, from which point, that the cumulative days of not ...

- asked by Chen Stats Yu (10 votes), answered by Simon Woods (12 votes)

—————————-

[How to riffle matrices] http://mathematica.stackexchange.com/questions/135848/how-to-riffle-matrices

I have four matrices

m = {{M11, M12, M13}, {M21, M22, M23}, {M31, M32, M33}}; 
n = {{N11, N12, N13}, {N21, N22, N23}, {N31, N32, N33}}; 
p = {{P11, P12, P13}, {P21, P22, P23}, {P31, P32, P33}}; 
q =  ...

- asked by Kowalski (8 votes), answered by Carl Woll (11 votes)

================================== Greatest hits from previous weeks: ==================================

[Is there an open source implementation of Mathematica-the-language?] http://mathematica.stackexchange.com/questions/4454/is-there-an-open-source-implementation-of-mathematica-the-language

I’ve seen questions before such as "What is the best open-source equivalent for Mathematica?", but that specific question (and that line of inquiry in general) cares more about the computer algebra ...

- asked by sblom (81 votes), answered by Simon (64 votes)

—————————-

[Is it possible to export the equations from Mathematica to MATLAB?] http://mathematica.stackexchange.com/questions/14035/is-it-possible-to-export-the-equations-from-mathematica-to-matlab

Is it possible to export the output expressions from Mathematica computations (e.g., equations) in valid MATLAB syntax?

- asked by Seyhmus Güngören (27 votes), answered by R. M. (35 votes)

================================== Can you answer these? ==================================

[Gap in X-axis when using LogLinearPlot] http://mathematica.stackexchange.com/questions/136025/gap-in-x-axis-when-using-loglinearplot

Basically, this is the plot that comes out when I choose

Frame -> True 
 
Due to my need of labeling the axes. Is there a way to get rid off of that annoying gap? 
 
Here is the figure 
 
Here is the  ...

- asked by Alan Turing (1 vote)

—————————-

[When solving a heavy PDE Mathematica falls out: what can be done] http://mathematica.stackexchange.com/questions/135819/when-solving-a-heavy-pde-mathematica-falls-out-what-can-be-done

I am solving a heavy PDE. The mesh is huge, and Mma falls out after few tens of minutes solving: the cell becomes inactive, kernel (pressumably) quits, all variables turn blue.

My question is, what ...

- asked by Alexei Boulbitch (3 votes)

—————————-

[Exporting Cellular Automata Image Sequence] http://mathematica.stackexchange.com/questions/136068/exporting-cellular-automata-image-sequence

I am trying to make an animation in Adobe After Effects utilizing cellular automata. I would like to export each step (say 500 steps) as a high resolution vector image so that I can combine them as an ...

- asked by Ryan Conover (1 vote)