comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Temporal Mean
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Temporal Mean [message #80354] Tue, 12 June 2012 15:40
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den tisdagen den 12:e juni 2012 kl. 22:56:30 UTC+2 skrev gutewaqi:
> Hi
>
> I have 114 months data, the data of each month contains 1895 lines. I want to compute the mean of each lines.
> i.e for example for line 1 i want have to get average of line 1 of 114 months
>
> Is there anyway to do it in IDL?
>
> Many thanks in advance
> Cheers
> Guta

If you have your data in a 114x1895-array, you could calculate total(data,1)/114. to get an 1895-element array with the means of all the lines over the 114 months. Was that what you needed?
[Message index]
 
Read Message
Previous Topic: Re: Can File_Search output show the path to the file
Next Topic: Re: Define a variable

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:03:38 PDT 2025

Total time taken to generate the page: 1.91388 seconds