Pickett
Reputation
18,093
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 24 72
Newest
Impact
~133k people reached

• 31 helpful flags
• 2,024 votes cast

# 2,014 Actions

 6h reviewed Approve Find and return the key with lowest value in association list 11h comment Plotting various circles What did you try? 11h comment Question on ClusteringComponents @Peter You can't "pull out" stuff from a black box function, however in the question I linked to above there is an implementation of k-means that you can modify as you wish. 14h revised Arrangements (?) from permutations of rows in a triangle, is there a simpler way to program this? edited body 14h answered Arrangements (?) from permutations of rows in a triangle, is there a simpler way to program this? 1d reviewed Leave Open Absolute VectorPlot scaling Apr23 comment How to interface ma output with webpage by php? \$math is a string, how could this possibly work? Have a look at exec(). Apr22 comment Shorthand to write repetitive test in mathematica == is equivalence. It will evaluate to either true or false, but it won't do anything. What are you trying to achieve? Your code, as it stands, is the same as CompoundExpression @@ Table[xsPoint[i] == rayPoint + d[i]*rayDirection, {i, {top, bottom, left, right, front,back}}] Apr22 answered How to switch keys in a Map to Association Apr22 answered How to plot functions in multiple coordinate systems Apr22 comment How to switch keys in a Map to Association Use #[[Key[k]]]]. Btw it's hard to understand what you are trying to do. Apr21 comment How would I go about simulating conditional random birth 100 times? @rasher The OP explicitly says that each generation can only reproduce one time ("...and stop creating forever.") Apr21 revised How would I go about simulating conditional random birth 100 times? deleted 2 characters in body Apr21 comment How would I go about simulating conditional random birth 100 times? This problem lends itself to recursion, which you really should master in order to get the most out of Mathematica. It is also a good idea to tell yourself to avoid for loops as much as possible, you have one in your algorithm - from that alone I could tell that that's not how experienced Mathematica users would implement this, before I even knew the problem. Apr21 answered How would I go about simulating conditional random birth 100 times? Apr20 comment Manipulate excel file and plot One reason why one might want to downvote this question is because it has a "give me the code" character. You haven't put enough effort into isolating your problem. It could very well be that if you had put down some effort to isolate the problem then you would have solved it by yourself. Apr20 answered Manipulate excel file and plot Apr20 comment What is this syntax, [[1, 1, 2]]? Evaluate Ndsol first to see what that expression looks like, then you can probably figure it out by comparing it to Ndsol[[1,1,2]]. In your expression all those arguments (z_, we_, etc.) do nothing. Indices in Mathematica start at 1. Apr20 comment What is this syntax, [[1, 1, 2]]? [[ ... ]] is an alias for Part. Apr19 revised Assignments in ParallelDo when using indexed variables deleted 3 characters in body