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

Home » Public Forums » archive » Re: Averaging an array of 3000 lines
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: Averaging an array of 3000 lines [message #40921 is a reply to message #40886] Wed, 08 September 2004 10:23 Go to previous message
mannstein is currently offline  mannstein
Messages: 5
Registered: August 2004
Junior Member
agilo wrote:
> Hi,
>
> I have an array of two cloumns (x y) and 3000 lines, and I would like
> to reduce the number of lines to 100 using IDL Ver. 5, can any body help.
>
> Thanks in advance
> Agilo
>

a=randomn(1,2,3000)


b=rebin(a,2,100)

should help, At least says the manual, that rebin makes an average.

Hermann

--

!!!!! Please try to avoid .doc attachments !!!!!
------------------------------------------------------------ ----
Dr. Hermann Mannstein Hermann.Mannstein@dlr.de
DLR-Institut fuer Physik der Atmosphaere
Oberpfaffenhofen, D-82234 Wessling Germany
Fon +49-8153-28-2503, Fax +49-8153-28-1841
http://www.dlr.de/ipa/
------------------------------------------------------------ ----
[Message index]
 
Read Message
Read Message
Previous Topic: IDL 6.1 (Windows) Help file problem
Next Topic: Legend in D Fanning's MPI_Plot

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

Current Time: Thu Oct 16 18:06:30 PDT 2025

Total time taken to generate the page: 0.95801 seconds