MathGroup Archive 2004

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

Search the Archive

RE: time series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46367] RE: [mg46362] time series
  • From: "Owen, HL (Hywel)" <H.L.Owen at dl.ac.uk>
  • Date: Mon, 16 Feb 2004 23:41:52 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Partition[x,3] does this.

> -----Original Message-----
> From: paolo tarpanelli [mailto:tarpanelli at libero.it]
To: mathgroup at smc.vnet.net
> Sent: 16 February 2004 14:00
> To: mathgroup at smc.vnet.net
> Subject: [mg46367] [mg46362] time series
> 
> 
> 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: matrix operations
  • Next by Date: Re: time series
  • Previous by thread: Re: time series
  • Next by thread: Re: time series