2,671 reputation
414
bio website
location
age
visits member for 2 years
seen 7 hours ago

5h
awarded  Nice Answer
7h
revised Why does Fourier give a shifted frequency?
added 21 characters in body
Sep
9
comment Error computing sum of sum of digits
I really want to use your technique because it is creative thinking plus blinding speed; however, cumDigitSum[12,10] returns 49 ?? I've tried to understand your approach in order to suggest an edit to the code, but as yet cannot.
Sep
9
comment Error computing sum of sum of digits
Hi Daniel: I can't get your function to give the same results as Mr.Wizard's. The "6" in b^6 looks suspicious...
Sep
3
answered How to speed up my Project Euler code
Sep
1
awarded  Yearling
Aug
21
answered To inscribe a circle in a given triangle
Aug
7
comment Why does Fourier give a shifted frequency?
@LeoFang Arbitrary resampling of a signal is not always possible in the real world. Given only the original 201-point signal, tapering removes the problem, as I suggested, as JamesCunnane suggested in a comment (recommending trend removal as well), and as Mr.Wizard suggested in an answer. Again, this does not mean your answer is wrong.
Aug
7
comment Why does Fourier give a shifted frequency?
@LeoFang I'm sorry about your downvote too, especially since you do not say how or why my explanation is wrong. I will not downvote your answer, you could do that yourself because both our explanations are the same, as stated by xslittlegrass in the comment above. You and I both suggest sampling more points to solve the problem. In my case 297 points, in yours 314, a trivial difference caused by the low-amplitude higher-frequency component. Can you see that, for harmonic signals, an incomplete period is the same as mismatched endpoint amplitudes?
Aug
6
answered factorization of integer into two parts with specific prime factors
Aug
6
answered Mathematica's “POV” export format ignores ColorFunction
Aug
5
awarded  Suffrage
Jul
31
revised Why does Fourier give a shifted frequency?
added 1525 characters in body
Jul
30
answered Why does Fourier give a shifted frequency?
Jul
9
answered Conveying density of 5-smooth (Hamming) numbers
Jul
6
answered Artistic image vectorization
Jul
3
comment Generate Random 3D Network using GraphPlot3D and loop
Are the networks you are working with Boolean NK networks? If yes, there is a demonstration.
Jun
23
comment Defining a function as a sum of several Gaussians
For fitting Gaussians, you might be interested in the answers here.
Jun
19
revised Smooth Peter de Jong attractor
added 1029 characters in body
Jun
19
comment Smooth Peter de Jong attractor
compiled code example has been included