13,269 reputation
23059
bio website
location
age
visits member for 2 years, 3 months
seen Apr 14 at 21:49

Mar
30
revised NMinimize usage
deleted 238 characters in body
Mar
30
revised NMinimize usage
added 240 characters in body
Mar
30
answered NMinimize usage
Mar
29
comment Translating MATLAB's cell2mat into Mathematica
@SjoerdC.deVries Yes, that's my point, it is not mma syntax and not intended to. It puts the onus on the answerer.
Mar
29
comment Translating MATLAB's cell2mat into Mathematica
@SjoerdC.deVries well {[1], [2, 3, 4];[5; 9], [6, 7, 8; 10, 11, 12]} isn't a valid Mathematica expression. The current answer basically takes an arbitrary (as far as I can tell) interpretation of the question and answers that; that's OK and I upvoted it, but it still doesn't make the question as it is clear. Perhaps the OP could modify the question so that the current answer is actually an answer to it, since they've indicated that this is what they want.
Mar
29
comment Efficient evaluation of function defined by multiple Sum
Without looking at the code in detail, did you try replacing Sum[...,{}] by Total@Table[...,{}]?
Mar
29
comment Fitting data without an equation
add the option Joined->True and possibly PlotMarkers->Automatic to ListPlot
Mar
28
comment Dynamic List Building and Exporting
I guess my point is, it's not clear what the problem is. You have a bunch of lists, just make them strings, join them, with line breaks at the right place and export them. Is that what you don't know?
Mar
28
comment Dynamic List Building and Exporting
you can create a list of the list1x, list2x etc lie this: NestList[ # + .5 &, {1, 1.1, 1.2, 1.3, 1.4}, 5 ]. You didn't say how list1 etc are to be created. You can output all these with Export (which is described in the docs and lots of places here)
Mar
28
comment How can I compile this function
one problem is Tuples, see On[Compile::exttensor]; Compile[{{x, _Real, 1}}, Tuples[x, 2]]. It's not compilable.
Mar
27
comment How to programmatically comment out multiple source files?
you can just read the file in as a string, prepend and append the appropriate characters and save it back
Mar
27
comment Why are these flow lines cut short?
Could you explain what you mean by "slope field"? Preferably without using bundles for the pedestrians among us.
Mar
27
answered What is the correct way to use NIntegrate inside the FindMinimum function?
Mar
27
comment What is the correct way to use NIntegrate inside the FindMinimum function?
maybe a.Table[alpha[t, i, h], {i, 1, n - 1}] isn't the best way to go here.
Mar
27
comment Which integration strategy to use for this product of polynomials?
OK I see, I had interpreted this to be about Integrate; with the clarification it's unambiguous.
Mar
27
comment Which integration strategy to use for this product of polynomials?
What do you mean by "integration strategy"? (I mean, what are you really asking? how to construct the arguments of Integrate[]?) I imagine you need this analytically, right?
Mar
27
revised Solving a time-dependent Schroedinger equation
added another method
Mar
26
comment How can I name “a[[i]]” the parts of Table “a”? Or how to make Table “a” grow inside FindMinimum?
+1; I did not know this syntax was valid.
Mar
26
revised How can I name “a[[i]]” the parts of Table “a”? Or how to make Table “a” grow inside FindMinimum?
edited body
Mar
26
answered How can I name “a[[i]]” the parts of Table “a”? Or how to make Table “a” grow inside FindMinimum?