Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: time series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46374] Re: [mg46362] time series
  • From: Yasvir Tesiram <yat at omrf.ouhsc.edu>
  • Date: Mon, 16 Feb 2004 23:41:59 -0500 (EST)
  • References: <200402161400.JAA20569@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

G'day,

x = {a1, a2, a3, a4, a5, a6}

xi = Partition[x, 3]
x1 = xi[[1]]
x2 = xi[[2]]

Cheers
Yas


On Feb 16, 2004, at 8:00 AM, 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
>


  • References:
    • time series
      • From: "paolo tarpanelli" <tarpanelli@libero.it>
  • Prev by Date: Printing Variables and Their Values
  • Next by Date: Re: time series
  • Previous by thread: time series
  • Next by thread: Re: time series