All Questions

22 votes
7 answers
19k views

How do I replace a variable in a polynomial?

How do I substitue z^2->x in the following polynomial z^4+z^2+4? z^4+z^2+4 /. z^2->x ...
niklasfi's user avatar
  • 2,633
24 votes
7 answers
5k views

Plotting an implicit polar equation

Mathematica can use ContourPlot to draw implicit Cartesian equations, but doesn't seem to have a similar function to plot an implicit polar equation, for example $\...
one-more-minute's user avatar
16 votes
2 answers
423 views

Interfacing Mathematica with MINE using JLink

In last December's Science David N. Reshef, et al. proposed an interesting method to detect associations in data (Detecting Novel Associations in Large Data Sets, Science 334, 1518, 2011). Contrary to ...
Sjoerd C. de Vries's user avatar
56 votes
2 answers
3k views

How do you set attributes on SubValues?

SubValues, as discussed in a previous question, are declared as follows ...
rcollyer's user avatar
  • 34.1k
9 votes
4 answers
429 views

Unexpected behavior from GatherBy in version 7

Bug introduced in 7.0 or earlier and fixed in 8.0.4 or earlier I have come across what appears to be a bug in GatherBy. It appears similar to the problem of using ...
Mr.Wizard's user avatar
  • 272k
61 votes
5 answers
2k views

Placement of Condition /; expressions

It is my practice to place Condition expressions on the left side of := and :> in almost ...
Mr.Wizard's user avatar
  • 272k
49 votes
7 answers
10k views

Intersecting graphics

Does the Mathematica graphics system have any concept of intersecting graphics? I've not found much in the documents so far. For example, if I want to show the intersection of two shapes: ...
cormullion's user avatar
  • 24.3k
11 votes
3 answers
2k views

Is it possible to import dates and times directly as AbsoluteTime and by pass DateLists?

Date and time calculations are quite slow so I am exploring ways to minimize the number of calculations performed. As an example: ...
Mike Honeychurch's user avatar
13 votes
2 answers
428 views

What's a robust way to insert another extension into a filename?

I'd like to add an extension to a filename before the file extension, otherwise leaving the given filename the same. In particular, absolute filenames should stay absolute, and relative filenames ...
David Z's user avatar
  • 4,961
15 votes
1 answer
1k views

Is it possible to use C# LINQ from Mathematica using .NET/Link?

Using Mathematica's .NET/Link (NETLink`) package, is it possible to call out to .NET's LINQ facilities for list manipulation and other operations?
sblom's user avatar
  • 6,473
17 votes
1 answer
1k views

How can I share objects with dynamic content with non-Mathematica users?

Often when I construct some cool Manipulate[] function, I would like to share it with others—non-Mathematica users. Some software, notably Cinderella, ...
Joseph O'Rourke's user avatar
7 votes
1 answer
543 views

Operations on online files via public URL access

I need Mathematica to access an online public directory via some URL (fake in this case) http://example.com/images and perform operations similar to those Mathematica can do on OS directories and ...
Vitaliy Kaurov's user avatar
29 votes
3 answers
1k views

What determines the value of $MaxNumber?

What determines the value of $MaxNumber? $MaxNumber 1.233433712981650*10^323228458 ...
Mr.Wizard's user avatar
  • 272k
14 votes
3 answers
2k views

Strategies to avoid LessEqual::nord in NMinimize?

When using NMinimize on functions with complex intermediate expressions (but a real end result), quite often one gets the error ...
celtschk's user avatar
  • 19.2k
22 votes
2 answers
799 views

Programmatically copy code so that all output is commented out

UPDATE: The final palette has a new home here! Please test and provide feedback (usability, suggestions, bugs) A note to the readers and voters: This is intended for community use, so please test the ...
Szabolcs's user avatar
  • 236k

15 30 50 per page