20,842 reputation
360141
bio website
location Sydney, Australia
age 44
visits member for 3 years
seen Jan 27 at 21:44

Moderator of Mathematica.SE and Celtic goddess.

Check out the Mathematica StackExchange Q+A site


Jan
19
comment Updating a GUI with ComboBox using GUIKit
Dear Dennis, welcome to Mathematica.SE! It would help if you posted code showing what you have tried.
Jan
14
comment Periodogram for irregularly spaced data
@Sektor - I've pasted the data in for the UK at least.
Jan
14
comment Periodogram for irregularly spaced data
@MikeHoneychurch - unfortunately Periodogram doesn't take TemporalData in v9, and I don't think that's changed in v10.
Jan
14
comment Periodogram for irregularly spaced data
One can apply a LowpassFilter to the data before drawing the Periodogram, but given that their whole thesis is about the relative importance of other bits of the spectrum, that's a bit odd.
Jan
7
comment How to simultaneously change variables shared by several functions?
It's not clear to me what you mean. Do you mean you want to be able to define your functions to take variable numbers of arguments (in which case define them like this: condition1[args__]:=...), or do you just want to use the same list of inputs for several functions (in which case have a look at Through)?
Jan
5
comment How to control pedestrians to enter the simulation region with random functions?
I would suggest getting the constant-probability-of-entry case working first. Also, you might have better results if you don't use subscripts. Have a look at some of the suggestions in this question.
Jan
1
comment Mean squared error of two matrices
This question appears to be off-topic because it is about finding an appropriate way to fit data to a model, not how to use Mathematica to do so.
Dec
31
comment Trying to Figure Out how to work with datasets & Classify[] and Predict[]
If you are the original poster, but just didn't fully register the first time this link might be helpful. If you merge your accounts, the rep you gained from the question will be added to that earned from the answers.
Dec
31
comment Counting the total number of instances of some collection of objects in a list
This gives the right result for the test case, but isn't it a bit convoluted compared with the built-in Alternatives function?
Dec
18
comment How to draw multi curves in a graph with errorbars
I know this isn't the crux of the question, but wouldn't the data be more simply constructed using FoldList rather than a For loop? i.e. DATA=FoldList[#1+#2&, Table[{0, Random[], Random[]}, {n}], Table[{1/n, RandomReal[{-1, 1}]/20, RandomReal[{-1, 1}]/20}, {m-1},{n}]]. At the very least, the Table construct doesn't require an explicit j iterator.
Dec
17
comment My code does not give the same results on mathematica 9 and 10
@Developer2000 - you should not assume that it was me who downvoted. In this case it was, and now that you have clarified what your question is, I am happy to do so. But please bear in mind that it is not usually considered appropriate to ask for votes to be changed. Downvoting is one of the incentives in StackExchange to ensure questions are improved. In this case, the system worked.
Dec
17
comment Incorporating the minimum and maximum of the function in a Dynamic plot
Welcome to Mathematica.SE! It isn't really appropriate for us to do your homework for you, but here are some hints that might help. You can use calculus to find turning points, and show the turning point using Epilog, like this: Dynamic[Plot[f, {x, -10, 10}, Epilog -> {Red, PointSize[Large], Point[{With[{minx = First[x /. Solve[D[f, x] == 0]]}, {minx, f /. x -> minx}]}]}]].
Dec
11
comment What are the most common pitfalls awaiting new users?
@timoftebogdan. I disagree- this is a site about Mathematica, so it is not relevant if nested loop-itis is popular in other languages. And Map is a lot more readable than For...etc
Dec
10
comment Polar histogram
What's radiis? It's not specified in your code.
Dec
10
comment How to know the internal algorithms of functions like Predict or Classify?
This is an interesting question but it's not clear anyone but Wolfram staff could answer it.
Dec
10
comment Setting Page Scale
David, just want to reassure you that there is no shame in asking a duplicate question. We mark them this way to ensure that people get pointed to a canonical answer.
Dec
9
comment How to Plot inside a Do loop?
@SjoerdC.deVries - yes, thanks! Now why couldn't I find it? I feel a bit guilty picking up the rep, but I think my answer is more succinct than the ones to that question.
Dec
9
comment How to Plot inside a Do loop?
All, I'm pretty sure this is a duplicate but I can't find it just yet.
Dec
7
comment Error with numerical summation - how to specify “n choose r”?
Not in Mathematica syntax, it isn't. I think you need Binomial.
Dec
7
comment Error with numerical summation - how to specify “n choose r”?
what's choose?