Reputation
57,691
Next tag badge:
227/100 score
17/20 answers
Badges
7 94 225
Newest
 Nice Answer
Impact
~797k people reached

Dec
14
comment Named patterns in Except
Yes I think the bugs tag is justified. Please also report it to Wolfram Research.
Dec
13
comment How to make a function to analyse a sentence?
This is a neat approach. Your rules could be written more concisely by naming the pattern sequence, e.g. {a___, x : PatternSequence[_d, _n], b___} :> {a, np[x], b}
Dec
12
comment Demonstrating the behavior of a function as its independent variable approaches zero
Also be careful of phrases like "increasing the machine precision" - machine precision is fixed by your computer's internal representation of floating point numbers. You can't increase it. A recommended read is the Background & Context section on this documentation page
Dec
12
comment Demonstrating the behavior of a function as its independent variable approaches zero
For the plot look at the WorkingPrecision option
Dec
12
comment Use custom frame ticks on an image
Why not just use Graphics instead of ListPlot?
Dec
12
comment Use custom frame ticks on an image
Related
Dec
12
comment Named patterns in Except
Another workaround is to use a trivial condition to stop the definition being overwritten, e.g. f[Except[0, a_], Except[0, a_]] /; True := 0
Dec
12
comment Creating a custom color plot with tones of colors
@Vaggelis_Z, it is rather rude to withhold your Accept subject to the poster making cosmetic tweaks which aren't even related to the question. Please try to judge answers based on how well they address the question you actually asked, not how well they meet your unstated final requirements. This is not a bespoke coding service! By all means ask a new question about framing images, however.
Dec
12
comment Named patterns in Except
I agree that this is a bug. Internal`ComparePatterns returns "Equivalent" for the two cases which is clearly not correct.
Dec
12
comment How can I pass arguments to Module without being reinterpreted each time they appear inside it?
@Nasser, I think you missed that mat2 is integers while lm is rationals. The comparison between lm + mat2 and lm + lm is not fair - it's a different arithmetic problem.
Dec
11
comment Problem with Conditionals: Why does mathematica add an extra empty list to my output
Note that as of 10.2 we can use Nothing in place of Unevaluated@Sequence[]
Dec
7
comment Manipulate in modal mode
Agreed, sometimes the dialog is a better choice.
Dec
7
comment Manipulate in modal mode
This is a good idea, though it would be nice to keep the Manipulate in the notebook.
Dec
6
comment Manipulate in modal mode
While the question is incomplete, I think bobthechemist's interpretation is correct and I would find the functionality useful. Hopefully my edit will make the question suitable for reopening.
Dec
6
comment Fitting does not work
Indent lines with 4 spaces to create a code block. Or use the {} button in the editor. Or select the code and hit ctrl-k
Dec
6
comment Insert an element into the end of every list
Your MapAt code overwrites the last element of each list rather than adding a new one.
Dec
5
comment How to implement Y-Δ conversion?
Compact versions for fun: D2Y = ##/{##}/(+##)&; Y2D = Tr[##/{##}]/{##}&;
Dec
5
comment Basins of attraction using Newton's method
The entire code is just the original question code with the altered definition of colorList. Anyway, why not just use the much improved code from Mark McClure's answer there? It works for different functions without any alteration.
Dec
5
comment Basins of attraction using Newton's method
@Vaggelis_Z, it works fine for me. Here is the result for p[z_]:=z^5-1
Dec
5
comment Basins of attraction using Newton's method
It should be clear from the warning Part::partw: Part 5 of {{cc,0,0},{cc,cc,0},{0,0,cc}} does not exist. that the problem lies in the definition of colorList - it assumes three roots. I suggest changing it to something like colorList = ColorConvert[Hue /@ (Range[numRoots]/numRoots), "RGB"] /. RGBColor[x__] :> cc {x}