|
[Date Index]
[Thread Index]
[Author Index]
Re: time series
- To: mathgroup at smc.vnet.net
- Subject: [mg46391] Re: time series
- From: "Steve Luttrell" <steve1 at _removemefirst_luttrell.org.uk>
- Date: Mon, 16 Feb 2004 23:42:42 -0500 (EST)
- References: <c0qjqi$kc3$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Do this:
Partition[x,3]
If you want to slip the window along one sample at a time then do this:
Partition[x,3,1]
Steve Luttrell
"paolo tarpanelli" <tarpanelli at libero.it> wrote in message
news:c0qjqi$kc3$1 at smc.vnet.net...
> 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: No Output, No Error
Previous by thread:
Re: time series
Next by thread:
Re: time series
|