Tag Info

New answers tagged

3

In order to work with the date you should convert it to a date list. Example: res = {{{"2013/12/8"}, {"a", "b"}}, {{"2013/12/8"}, {"a", "b"}}}; res2 = MapAt[DateList@First@# &, res, {All, 1}] (* Out: {{{2013, 12, 8, 0, 0, 0.}, {"a", "b"}}, {{2013, 12, 8, 0, 0, 0.}, {"a", "b"}}} *) Now you can use Select or Cases or whatever to extract ...


1

I present this for illustrative purposes. Here is a toy data set: samp = RandomReal[{23, 32}, 365 8 ]; This is just 365 days of 8 samples per day. You can get daily mean using: Mean /@ Partition[samp, 8]; You can visualize by just wrapping in ListPlot and with option Joined->True: You can also use TemporalData: td = TemporalData[samp]; td2 = ...


4

There are built-in functions to do that. Mean/@Partition[lst,365*8] Variance/@Partition[lst,365*8]


3

The epoch starts from jan 01 1970, so you can do: to = AbsoluteTime[{1970, 1, 1, 0, 0, 0.`}]; DateString[1395858190 + to] Wed 26 Mar 2014 18:23:10 From http://www.epochconverter.com/ GMT: Wed, 26 Mar 2014 18:23:10 GMT


0

It is in the very fa future :) DateString[1395401384298] "Tue 5 Jul 46118 23:38:18" Adding a dot brings closer: DateString[1395401384.298] "Tue 21 Mar 1944 11:29:44" So check the data you have received. János



Top 50 recent answers are included