1,211 reputation
319
bio website
location
age
visits member for 1 year, 8 months
seen 15 hours ago

Sep
29
accepted How to partition a list into sublists in a similar way to Histogram
Sep
29
revised How to partition a list into sublists in a similar way to Histogram
added 31 characters in body
Sep
29
comment How to partition a list into sublists in a similar way to Histogram
@Mr.Wizard Yeah, it can be AbsoluteTime, and I can use`DateListPlot`. I reprocess my data, and now with date information. Herehttp://en.textsave.org/VdL
Sep
29
comment How to partition a list into sublists in a similar way to Histogram
@Mr.Wizard The partition is good. I need to preserve the pairs. But I am afraid I need the empty bin to plot the 5 minutes average curve like TemporalData gives. Then how to get the empty bin? The method I can think of is to artificially insert zero data to those no data time region.
Sep
29
comment How to partition a list into sublists in a similar way to Histogram
@Mr.Wizard Thank you, Mr.Wizard! Your method using Binlists is quite general, I like it! It is hard to determine which answer should be accepted as the best answer. ubpdqn's answer using TemporalData is really suitable for this particular problem involving date.
Sep
29
comment How to partition a list into sublists in a similar way to Histogram
@ubpdqn Thank you, ubpdqn! Your method using "TemporalData" is perfect in this problem. I made a mistake in my last reply. The second in DataList can be fractional number. So I can always add small varying quantity to the seconds to differentiate different data even in the same second.
Sep
28
comment How to partition a list into sublists in a similar way to Histogram
@b.gatessucks I've add the full data here en.textsave.org/rdL
Sep
28
revised How to partition a list into sublists in a similar way to Histogram
added 57 characters in body
Sep
28
revised How to partition a list into sublists in a similar way to Histogram
added 56 characters in body
Sep
28
revised How to partition a list into sublists in a similar way to Histogram
added 56 characters in body
Sep
28
comment How to partition a list into sublists in a similar way to Histogram
@b.gatessucks No, the instrument gathering the data all the time.
Sep
28
comment How to partition a list into sublists in a similar way to Histogram
@Öskå No, the data is not evenly distributed. Sometimes there is even no data within 5 minutes.
Sep
28
asked How to partition a list into sublists in a similar way to Histogram
Sep
11
awarded  Nice Question
Sep
11
accepted How to parallel this nested table efficiently?
Sep
11
accepted Is the CompiledFunctionCall WVM opcode efficient?
Sep
11
accepted how to Compile user-defined function like this
Sep
11
comment How to force an evaluation to use only one core?
@Kuba Oh, sorry. I have been away from here a couple of days. I tried your code. Yeah, it works. But if you change 1->1.0, that is try Eigenvalues[ SparseArray[{{x_, y_} /; Abs[x - y] < 3 -> 1.0}, {100, 100}]] // Timing // First you will see it multithread again. I don't know why. That is odd.
Sep
2
comment How to force an evaluation to use only one core?
@Kuba after examing the answer for the second time. I found that set "ParallelThreadNumber" didn't work for Eigenvalues, set "MKL" works for it. You can check it. The "ParallelThreadNumber" setting works for image processing functions, see mathematica.stackexchange.com/questions/3674/…
Aug
30
comment How to force an evaluation to use only one core?
@Kuba Oh, SetSystemOptions["MKLThreads" -> 1] actually works for the NIntegrate. My fault. Thank you for your help! But I still wish you could look at the post I mentioned, there are peculiarities which I can't understand.