6,595 reputation
1524
bio website
location
age
visits member for 2 years
seen 10 hours ago

Aug
5
comment Matrix containing ellipse
note Rasterize does not (evidently) have an option to make a 1-bit image, so you end up with gray values at the edges of the ellipse. You could use Round instead of MorphologicalComponents however. (still a tad slower than Image ).
Aug
5
comment Integral too slow and with conditionals
you can do $Assumptions = {(x | y) \[Element] Reals && x > 0 && a > 0} instead of giving the option to Integrate (be aware though that only functions that take an assumptions argument actually use the $Assumptions variable.. )
Aug
5
revised Forming an upper triangular matrix from the elements of a list
deleted 24 characters in body
Aug
5
answered Forming an upper triangular matrix from the elements of a list
Aug
5
answered the winding number for the circle map (Arnold tongue)
Aug
5
comment the winding number for the circle map (Arnold tongue)
@xzczd : works for me (and about 50% faster ). Mean[Nest[# + a - k Sin[2 Pi #] &, RandomReal[1, Round[m]], Round[n]]/n]
Aug
5
comment Edge finite elements in Mathematica
is this a 'new in 10' question? (what "Finite Element capabilities " are you talking about? )
Aug
5
comment the winding number for the circle map (Arnold tongue)
good call +1!. Can you generate a figure showing regions where the result is "essentially" independent of the input?
Aug
4
revised Calculate integral in limit of very large coefficient
added 326 characters in body
Aug
4
answered Calculate integral in limit of very large coefficient
Aug
4
comment Calculate integral in limit of very large coefficient
The second is zero: Limit[ Integrate[ Exp[ -alpha Sqrt[x] ], {x, 0, y}] , alpha -> Infinity, Assumptions -> {y > 0}]. The first you probably need to do numerically
Aug
4
comment the winding number for the circle map (Arnold tongue)
Have you plotted this? I still get a result that looks more like @Chenminqi's initial result that the figure on the wiki page. (I'm beginning to doubt the validity of the wiki page figure in the neighborhood of a~1/2 , b~3/5 )
Aug
4
comment the winding number for the circle map (Arnold tongue)
after taking a deeper look, I think someone with sufficient expertise should clarify what the "is to be interpreted" statement is supposed to mean on the wikipedia page..
Aug
3
comment the winding number for the circle map (Arnold tongue)
where \theta is to be interpreted as polar angle such that its value lies between 0 and 1. have you tried shifting the result on each iteration?
Jul
30
answered Evaluation of a large integral
Jul
30
comment GIF file breaking Import
don't know whats wrong with the file, but the hang i think results from "gif.exe" ( which mathematica evidently uses ) hanging.
Jul
30
answered Overwriting first line of large file
Jul
30
comment Setting a Row from a Matrix as Variable
as a fundamental issue your Do loops should be Tables. The posted answer is better of course.
Jul
30
comment Does it help to do any preprocessing before `FindSequenceFunction`?
interesting, but without some example to work this seems practically out of scope of the site.
Jul
30
comment Why is my compiled code slower?
way before messing with Compile learn to utilize mathematica object oriented programming and wealth of built in functions. For a start look up InentityMatrix..