Skip to main content
31 votes
Accepted

What functions work in which version of Mathematica

...
corey979's user avatar
  • 24k
12 votes

Is it possible to improve Mathematica's auto-completion feature?

I'm using Mathematica 12.1 and I think the following feature was introduced in version 12. You can add and execute the following code in your notebook: ...
Qbyte's user avatar
  • 469
9 votes

How do I show the transition probabilities in a graph of a Markov process?

You can use MarkovProcessProperties[mp, "TransitionMatrix"] as edge labels directly in Graph: ...
kglr's user avatar
  • 398k
8 votes
Accepted

What is the status of `::usage` and Templates in Mathematica v11?

1) The complete failure of Make Template with formatted usages is fixed in our next release. I can't promise you it will look 100% beautiful in all cases, but the number of templates will match the ...
Itai Seggev's user avatar
  • 14.2k
8 votes
Accepted

Problem in Mathematica 9 code in Mathematica 11

The answer to your question is in the error, NDSolve::ntdv: Cannot solve to find an explicit formula for the derivatives. Consider using the option Method->{"EquationSimplification"->"Residual"}...
zhk's user avatar
  • 12k
8 votes

Packages for Semidefinite programming

Semidefinite programming (see here) has been added to Mathematica 12. Example ...
Mauricio Fernández's user avatar
7 votes

Web Browser Screen Shot

There is now a built-in way to do this: WebImage["http://stackoverflow.com"] ...
user5601's user avatar
  • 3,675
7 votes

How can i draw ellipse in 3D?

When I wrote this answer the question clearly asked for an ellipse. Look up ParametricPlot3D and use the equation of an ellipse. ...
Szabolcs's user avatar
  • 236k
7 votes

What functions work in which version of Mathematica

WolframLanguageData has the answers you are looking for - specifically, versions in which symbols were introduced or modified! ...
Carl Lange's user avatar
  • 13.1k
7 votes

Remove some of the background noise to get clear microscopic image

Try ComponentMeasurements ...
Ulrich Neumann's user avatar
6 votes

Delete duplicates in a set of Data?

Starting with list = {{}, {3, 17}, {5, 15}, {7, 13}, {11, 9}, {13, 7}, {17, 3}, {19, 1}} You can remove reordered sublists with ...
jjc385's user avatar
  • 3,483
6 votes

SSL errors when using URLFetch or URLSave in versions 8 or 9

As explained by ilian in his comment to my question, one can work around these issues in the following way Mathematica 8 You need to switch to a different version of Java as the one used in ...
vsht's user avatar
  • 3,527
5 votes

What functions work in which version of Mathematica

See http://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn11.html and the related pages on the bottom. This will tell you that StringContainsQ has been altered going from 10 to 11. This is ...
Kvothe's user avatar
  • 4,571
5 votes
Accepted

Packages for Semidefinite programming

This add-on is the best I've found: https://github.com/NCAlgebra/NC The documentation that is more specific to SDPs is here: http://www.math.ucsd.edu/~ncalg/DOCUMENTATION/index.html#...
Ziofil's user avatar
  • 2,470
5 votes

How to export and import Graphs with additional data?

If you don't want to import the graph into some other application, but simply save it for later use, I've found that just saving the graph in .m format preserves everything just fine: ...
Van Parunak's user avatar
4 votes

NDSolve with Piecewise gives the incorrect answer randomly

Another possible fix to the bug is to use Simplify`PWToUnitStep to expand the Piecewise into a combination of ...
xzczd's user avatar
  • 67k
4 votes

In version 9 PlotLegends, how can I remove the strange edges that appear around LegendMarkers?

Grayish (actually black with Opacity[.3] marker edges are the result of default setting for marker style: ...
kglr's user avatar
  • 398k
4 votes
Accepted

Open a hdf5 file in SWMR (single writer multiple reader) mode in Mathematica 9.0?

From HDF5 User's Guide on SWMR mode: The SWMR feature is available in HDF5 version 1.10.0 and later. Since Mathematica 11.3 uses HDF5 1.8.16 there is no support for SWMR neither in 11.3 nor in any ...
rafalc's user avatar
  • 1,359
4 votes
Accepted

Find repeating pattern in 2D list

There is an undefined variable l in the OP. Below I use: ...
Coolwater's user avatar
  • 20.3k
4 votes

Remove some of the background noise to get clear microscopic image

I do not know what your aim is. For the present, I assume that you want to count points of a given size. We proceed as follows: First we copy the picture and make it black and white picture: ...
Daniel Huber's user avatar
4 votes

Remove some of the background noise to get clear microscopic image

Here's my trial, which is v9 compatible: img = (* Copy and paste the image here *); comp = SelectComponents[Binarize[img, 0.6], "Area", # > 80 &] ...
xzczd's user avatar
  • 67k
3 votes
Accepted

Exporting graphics in eps-format. A change from version 9 to version 11 made it less useful for LaTeX

This problem is SOLVED by printing the offending text components using white color. In other words, when I use ...
Jyrki Lahtonen's user avatar
3 votes

NDSolve with Piecewise gives the incorrect answer randomly

Taking the OP's clue that starting at x[10^-100] == 0 solves the problem, we can try explicitly setting the derivative value at ...
Michael E2's user avatar
  • 237k
2 votes

Quantity and Trig functions

As noted in the comments, one might consider avoiding UnitConvert[] for this purpose: ...
J. M.'s missing motivation's user avatar
2 votes
Accepted

AnimationRate not a Manipulate option?

As pointed out by Mr.Wizard, AnimationRate is not an option of Manipulate but of the particular controller. Namely, the correct ...
J-T's user avatar
  • 183
2 votes

Behavior of 1.2 ∈ Rationals changes in v9?

I confirm that versions 5.2 and 8.0.4 return False for 1.2 ∈ Rationals: ... while the latest available versions don't: ...
Alexey Popkov's user avatar
2 votes

Delete duplicates in a set of Data?

n=10; Flatten[DeleteDuplicates[Table[If[PrimeQ[p] && p + q == 2 n, Sort[{p, q}], Nothing], {p, 3, 2 n}, {q, 1, 2 n - p}]], 1] {{3, 17}, {5, 15}, {7, 13}...
Suba Thomas's user avatar
  • 8,776
2 votes
Accepted

Ordering elements of a list

In answering this I am assuming we have the picture and the labels and would simply like to sort using approximate coordinates for the labels: ...
gwr's user avatar
  • 13.5k
2 votes

What is the maximum likelihood estimator of a distribution with PDF, $f(x) = x/8$ for $x$ in $[0,\theta]$?

Your data has only 10 samples of random values. This can result in discrepancy between the the PDF and estimation. You will have almost 4 for 1000 samples: ...
m0nhawk's user avatar
  • 3,867

Only top scored, non community-wiki answers of a minimum length are eligible