Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: How to take mean of specific data?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112940] Re: How to take mean of specific data?
  • From: Alexei Boulbitch <alexei.boulbitch at iee.lu>
  • Date: Thu, 7 Oct 2010 03:35:33 -0400 (EDT)

Hi,

assume your list has the name lst. Try this:
Mean[lst[[18000;;67500]]]

Have success. Alexei


Hi,

I have a text file with over 100,000 different values.  After
importing this data into Mathematica, I'd like to have the program
average specific parts of this data.  For example, I'd like to find
the mean of values 18,000 to 67,500.  Is there some variation of the
'Mean' command or other that would do this?

Thanks!!

-- 
Alexei Boulbitch, Dr. habil.
Senior Scientist
Material Development

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 CONTERN
Luxembourg

Tel: +352 2454 2566
Fax: +352 2454 3566
Mobile: +49 (0) 151 52 40 66 44

e-mail: alexei.boulbitch at iee.lu

www.iee.lu

--

This e-mail may contain trade secrets or privileged, undisclosed or
otherwise confidential information. If you are not the intended
recipient and have received this e-mail in error, you are hereby
notified that any review, copying or distribution of it is strictly
prohibited. Please inform us immediately and destroy the original
transmittal from your system. Thank you for your co-operation.



  • Prev by Date: Re: Function argument types
  • Next by Date: Re: change the base of the Log[] used by LogLogPlot?
  • Previous by thread: Re: How to take mean of specific data?
  • Next by thread: .NETLink and notebooks