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

time serie -> sum inside a loop

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46100] time serie -> sum inside a loop
  • From: "paolo" <tarpanelli at libero.it>
  • Date: Fri, 6 Feb 2004 04:15:22 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Given a time serie
a:= {a[[1]],a[[2]],a[[3]],...,a[[n]]}

how can i solve this loop with mathematica?

-------------
Y[[i]]:=Sum_(for k=1 to i) [a[[k]]-mu]
-------------

where mu is the mean of time serie a.

thanks

Paolo Tarpanelli


  • Prev by Date: Re: clarification. Re: one liner for a function?
  • Next by Date: Mozilla 1.6
  • Previous by thread: Re: MathML Namespace + Mathematica
  • Next by thread: Re: time serie -> sum inside a loop