55,894 reputation
5136324
bio website
location ND
age 31
visits member for 2 years, 6 months
seen 5 hours ago

contact details

Visit Mathematica.SE


5h
comment How to create a screen shot of a notebook
@ArielSepulveda What precisely is missing in this solution? What are you looking to include that isn't?
1d
comment What is that Root[…] inside the answer represent?
Have you searched for Root in the documentation?
1d
comment why head Association cannot be replaced by head List
@Algohi As Michael said, for various atomic objects there are usually some functions to extract data from them. For Complex this is Im and Re. You might notice that MatchQ[Complex[1, 2], Complex[_, _]] is True and it is possible to do Complex[1, 2] /. Complex[i_, j_] :> {i, j}. This often causes confusion. It is important to realize that this works just because this specific functionality happens to be implemented for Complex. It does not mean that Complex has a generally accessible internal structure, e.g. List @@ Complex[1, 2] doesn't work.
1d
answered why head Association cannot be replaced by head List
1d
comment Given f[1] … f[k], k = 1, 2, 3… how do one find the general function f[n]?
FindGeneratingFunction and FindSequenceFunction do this, but they probably won't work for such a general symbolic sequence.
1d
revised Can NDSolve handle discountinuos data?
added 124 characters in body
1d
comment Can NDSolve handle discountinuos data?
it's also possible to just make a numerical black box out of UnitBox, as in f[x_?NumericQ] := UnitBox[(x - 0.5) 0.5/0.2]. Then it works. But I'd like to understand why Mathematica thinks that it shouldn't attempt solving this equation when it knows that there are variables taking discrete values.
1d
comment Can NDSolve handle discountinuos data?
This is relevant: reference.wolfram.com/language/ref/DiscreteVariables.html
1d
answered Can NDSolve handle discountinuos data?
1d
awarded  Popular Question
2d
revised Providing a color function for ListPointPlot3D
added 44 characters in body
2d
comment Providing a color function for ListPointPlot3D
Fair enough, removed that remark. And +1 :)
2d
awarded  plotting
2d
awarded  Socratic
2d
comment Partial Differential Equation in Parallel
Calling it "useless" is unfair. You get great convenience from Mathematica at the price of performance. If you solve the same in C or Fortran, you'll gain much more performance than parallelization would give you in Mathematica. Use the right tool for the problem.
2d
revised Providing a color function for ListPointPlot3D
deleted 8 characters in body
2d
revised Providing a color function for ListPointPlot3D
edited tags
2d
answered Providing a color function for ListPointPlot3D
2d
comment Converting a nested for loop from MATLAB
@blochwave That's why I don't like to translate code I don't understand. For relatively simple code like this it's usually easier to understand the problem first, then re-implement it, than to blindly translate an algorithm when we don't know where it comes from. Maybe the starting index of 0 makes sense for the physics (?) problem the code is solving.
2d
revised Converting a nested for loop from MATLAB
added 173 characters in body