Reputation
18,073
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 24 72
Newest
 Nice Answer
Impact
~132k people reached

2d
comment How to interface ma output with webpage by php?
$math is a string, how could this possibly work? Have a look at exec().
Apr
22
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}}]
Apr
22
answered How to switch keys in a Map to Association
Apr
22
answered How to plot functions in multiple coordinate systems
Apr
22
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.
Apr
21
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.")
Apr
21
revised How would I go about simulating conditional random birth 100 times?
deleted 2 characters in body
Apr
21
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.
Apr
21
answered How would I go about simulating conditional random birth 100 times?
Apr
20
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.
Apr
20
answered Manipulate excel file and plot
Apr
20
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.
Apr
20
comment What is this syntax, [[1, 1, 2]]?
[[ ... ]] is an alias for Part.
Apr
19
revised Assignments in ParallelDo when using indexed variables
deleted 3 characters in body
Apr
19
comment Assignments in ParallelDo when using indexed variables
@Szabolcs If you were writing this as an answer I don't think my answer should prevent you from posting this as such. You make very good points about performance.
Apr
19
answered Assignments in ParallelDo when using indexed variables
Apr
19
comment Import mixed graph from Excel
Welcome to Mathematica.Stackexchange! There isn't going to be a solution like Import["file.xls", "UndirectedDirectedGraph"] if that's what you think. You will have to create the graph after you've imported the data (as a list of lists), so try to do that and if it you can't get it to work please ask a question with details about what you have tried and include sample data.
Apr
19
comment Make animation with multiple external data files
@FelipeP. My mistake, fixed it.
Apr
19
revised Make animation with multiple external data files
added 9 characters in body
Apr
19
awarded  Nice Answer