12,202 reputation
22352
bio website
location
age
visits member for 1 year, 4 months
seen 1 hour ago
stats profile views 873

May
6
comment Custom File Palette
@MarkMcClure You have indeed. Very cool! thanks
May
6
comment Custom File Palette
@belisarius yes!
Apr
24
comment Runaway MathKernel!
this has happened to me a few times when I am using parallelization (just like Szabolcs mentioned). could this have been the case here too?
Apr
21
comment How to change Compiled->False to Method->{Compiled->False} in multiple notebooks?
@user7040 if you use emacs, why not just use that? do you know elisp? but this may be easier... The idea about FileNames is to do something like SetDirectory[NotebookDirectory[]];FileNames["*.nb"] to obtain a list of notebook files, then maybe assign the code I gave above to a function and map that. Ask here if you have problems.
Apr
20
comment Why is NonlinearModelFit calling the model function with symbolic arguments?
if you give it as an argument (say) f[x], it probably tries to probe it with symbolic x first. So if f involves (say) NIntegrate, it then passes the symbolic argument to NIntegrate which chokes. Using the form above (restricting f to have numeric args) prevents this from happening. If you try f[x_]:=(Print[x];stuff) with stuff the actual function, you can see what happens (or Trace might help)
Apr
20
comment Why is NonlinearModelFit calling the model function with symbolic arguments?
Well, did it help?
Apr
19
comment Why is NonlinearModelFit calling the model function with symbolic arguments?
Perhaps defining the function with f[x_?NumericQ]:=... will help.
Apr
19
comment Interactively Manipulate Code
I just happened to come here when the question was asked :)
Apr
19
comment How to find an asymptote of a logarithmic curve
Surely you can see that your question is underspecified. How and what do you plot? Yes, an exponential curve; but what do you do? Plot[1+Exp[-x/5],{x,0,50}]? something else? Try to be specific. Pretend that you don't know what you are doing; would you understand your explanation? If not, neither will we...
Apr
19
comment Simulate a simple spinner
+1, nice. You could also solve the ODE I solve with the initial angular velocity proportional to the magnitude of the flick; then it would be closer to a simulation. I'd do it but I don't want to steal your code!
Apr
18
comment Trying to show an expression is always zero
@DavidDoria probably the reason Simplify doesn't get automatically applied is that it could take an arbitrarily long time. Maybe all you want to do is substitute numbers, and not waste time simplifying; so the result isn't useless. As for showing the manipulations, not really.
Apr
18
comment Using the Mathematica front-end efficiently for editing notebooks
for OS X there's also BetterTouchTool which is free and lets you define arbitrary shortcuts for keyboard, mouse and trackpad actions. eg, shift+cmd+m to switch to mathematica.
Apr
17
comment Mathematica 9.0.1 is clearing variables
it's probably the kernel crashing. do you have any steps to reproduce this?
Apr
17
comment Simulate a simple spinner
it's now a bit smoother
Apr
17
comment Simulate a simple spinner
I've modified it to spin upon clicking a button. It seems to work but I wrote it by trial and error, so...
Apr
17
comment Simulate a simple spinner
@cormullion thanks. I figured that he has the UI in place and was asking about the rotation, so I addressed that.
Apr
17
comment Simulate a simple spinner
@J.M. I only know of Perlin noise from your answers...
Apr
16
comment How can I find if the number of subsets for a list is very large?
I am enthusiastically upvoting for two reasons: 1) TAOCP, 2) use of Goto
Apr
15
comment diff-able text-only notebooks?
@TobiasHagge good point. perhaps it's worth mentioning that that, too, will only include the code/initialization cells in executable form.
Apr
15
comment diff-able text-only notebooks?
@rm-rf does it save all initialization cells? didn't know that