336 reputation
318
bio website ablona.se
location Stockholm, Sweden
age 53
visits member for 2 years, 6 months
seen 16 hours ago

Managment consultant w a background in Computer Science, rediscovered programming through Mathematica.


Jul
30
comment What is the relationship between Mathematica and Wolfram Desktop?
@murray Wolfram Desktop does not at this beta stage seem to be a superset of Mathematica 10. E.g. ParallelMap is not supported (based on dialogue w support). Also, supporting local files, unit testing etc seems to be some time away. Hope that this only is temporary since the whole concept seems to be good.
Mar
21
comment Getting cdf content from nice Wolfram info graphic
I have mailed and asked for the code, then the support mailed it. Don't know if this is true for this example, though.
Mar
17
comment Counting Events in a moving date range
@rasher No hurry.
Mar
17
comment Counting Events in a moving date range
@rasher I would need a more precise hint :-) If I understand your hint it would be to change the list to a SparseArray (w Absolute times) and then e.g. use the approach in Woulers answer.
Mar
16
comment Counting Events in a moving date range
Great! The constants in the index part of the Table has to do with the time window and the number of days from October 1 to "now", right?
Mar
16
comment Counting Events in a moving date range
Good point! The list dvHITS is the date and the time for "High Intensity Training" events. My goal is to have 12 of these for the last 28 days, for every day.
Feb
12
comment Arithmetic operations on columns
Perhaps you can start with experimenting with deconstructing the ListLogPlot[..], e.g. to see what Transpose, the /@ (see Map) and the [[..]] function does (see Part).
Jan
3
comment Want explanation of when different looping constructs are appropriate
Check out this question, mathematica.stackexchange.com/questions/7924/… Should cover most of the cases.
Dec
2
comment VertexList ordering of a simple graph
perhaps you can be more specific on f[]? Or is it a Sort of the vertexes?
Nov
19
comment Specifying parts from lists for plotting using Show
ListPlot supports plotting of multiple lists, as image_doctor points out, see reference.wolfram.com/mathematica/ref/ListPlot.html, so plotting of your reference data works fine.
Oct
18
comment Change variables in differential expressions
Perhaps you can improve the answer by actually applying the solution to the example in the OP, e.g. n[r](3 r..)?
Oct
14
comment Calculate proportion of values for dates
I am new to MMA, so I have to ask for a pointer to the documentation of first assignment {date, ...} = {1,1..}
Oct
14
comment Calculate proportion of values for dates
let us continue this discussion in chat
Oct
14
comment Calculate proportion of values for dates
No, not month, day. Sorry for the confusion.
Oct
14
comment Calculate proportion of values for dates
will try autoLegend. Check the order of "Paris" and "Stockholm" in the AxesLabel part, I think you put in the wrong order.
Oct
14
comment Calculate proportion of values for dates
Split/SplitBy looks promising, didn't know about it.. If I follow your guidance, the solution should be to use Split and Count to get the number of values per date and then use SplitBy and Count to get the number of negative values per date.
Oct
14
comment Calculate proportion of values for dates
Yes, it is a likelyhood function that I am after but for a days (there is about 12000 / 400 = 30 values per days which is ok for me). If I understand your counting to months is done in the {Range[12]... code, will experiment with this. (Stockholm is considered to be in the warm, comfortable, south part of Sweden..)
Oct
14
comment Calculate proportion of values for dates
Yes, but where I get stuck is how to "map" Count to the list and to "count" the number of values for a date and also count the number of values that - in this case - are negative.
Oct
2
comment Merging (combining) tables of graph relationships (2-mode to 1-mode network)
I created a similar graph in Gephi, see this question, mathematica.stackexchange.com/q/7764/1635. I have not had the time to redo this in Mathematica
Oct
2
comment xkcd-style graphs
@Amatya, you should send the question's link to Randall Munroe.