MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: time series


Hi,

aa = {a1, a2, a3, a4, a5, a6, a7, a8, a9};
Set @@ {Table[x[i], {i, 3}], Partition[aa, 3]};

Regards
  Jens

paolo tarpanelli wrote:
> 
> Given a time series
> x={a1,a2,a3,a4,a5,a6,...,an}
> 
> how can i divide it in different segments x1, x2,..., xn
> 
> x1={a1,a2,a3}
> x2={a4,a5,a6}
> ...
> xn={an-2,an-1,an}
> 
> thanks
> 
> Paolo


  • Prev by Date: RE: time series
  • Next by Date: Re: time series
  • Previous by thread: RE: time series
  • Next by thread: Re: time series