27,600 reputation
13791
bio website
location
age
visits member for 3 years, 2 months
seen 12 mins ago

Jul
10
answered Replace interior of matrix with zeros
Jul
9
revised How to disable the small pop-up windows when mouse is over a Mathematica command in V10?
added screen shot
Jul
9
asked How to disable the small pop-up windows when mouse is over a Mathematica command in V10?
Jul
9
accepted How to add texture to solid Graphics3D object such as cylinder?
Jul
9
comment How to add texture to solid Graphics3D object such as cylinder?
@Kuba I actually thought about this, but the top/bottom faces will be different, and more important, I am not sure it is efficient, since I am rendering a 3D object (cylinder) in addition to the texture itself. I am trying to see if I can make a circle with same texture and add these to the ParametricPlot3D to build the cylinder manually. If all else fails, will use what you suggested.
Jul
9
asked How to add texture to solid Graphics3D object such as cylinder?
Jul
9
comment How to find all data points within closed curve
for getting the points out of the plot, I think Leonid method might be more portable than depending on [[1,1,3,2,1]] indexing as this might change in future versions. As in points = Reap[ParametricPlot[{Sin[u], Sin[2 u]}, {u, 0, 2 Pi}, EvaluationMonitor :> Sow[{Sin[u], Sin[2 u]}]]][[2, 1]]; stackoverflow.com/questions/5364088/…
Jul
8
comment Implicitly differentiate an equation, then solve the resulting equation
what is z? constant? function of x?
Jul
8
answered Matrix constructed as a function inside a for-loop
Jul
7
comment Im trying to model balls in a box with NDsolve, but the balls keep escaping the box
What I would do is integrating for a small time step, then do the detection of collision outside NDsolve not inside using events, then call NDSolve again for a small time step, and so on. see this demo demonstrations.wolfram.com/…
Jul
7
comment how to make contents of package visible to the autocomplete system?
It should work on OSX then, please report to wolfram@support.com (assuming you restarted everything clean, and rest everything etc.. and it still does not work)
Jul
7
comment how to make contents of package visible to the autocomplete system?
it also works on windows 7, V 9.01 screen shot !Mathematica graphics
Jul
7
comment Switch inside Manipulate controls statement
@m_goldberg But I qualified it by saying "at least I never seen it before." :) I was lazy to actually try it. But I learned something new today about Manipulate.
Jul
7
comment Switch inside Manipulate controls statement
You can't do this. You can't put controls inside Switch, at least I never seen it before. But if you post full code, it will help try it out than spend time to try to recreate it.
Jul
6
comment How to use multiple pure functions correctly?
Just to reinforce the point in the answer below. This shows the two # do not clash when using Function as in data = {1, 2, 3, 4, 5}; intervals = {{0, 1}, {1, 4}, {3, 4}}; Map[Select[data, #] &, (Function[i, IntervalMemberQ[Interval[#], i]] & /@ intervals)] The second # is bounded to the Function and the outer # does not see it.
Jul
6
comment Plotting a multivariable function
Ok, you can try Plot3D[m[x, y], {x, 0, 5}, {y, 0, 5}, PlotRange -> All] and see if this works
Jul
6
comment Plotting a multivariable function
You can't just write Plot3D[m,...] you have to actually call m with the arguments. Try m[x,y]
Jul
5
comment Decimal output from a simple equation
with little less typing "x =0.0000000000000000036`1";
Jul
4
comment ToExpression fails with long nested string expressions
fyi, tried it on V10 at WPC, and it failed there at 351 not 182. Not sure if this makes any difference. !Mathematica graphics
Jul
4
accepted How to apply function on list of lists with different sizes