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

Home » Public Forums » archive » Re: Aggregating an array
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: Aggregating an array [message #42329 is a reply to message #42327] Tue, 01 February 2005 07:12 Go to previous message
edward.s.meinel@aero. is currently offline  edward.s.meinel@aero.
Messages: 52
Registered: February 2005
Member
Jerome Colin wrote:
> I thought I could use vectors to define subscripts to use the mean()
> function :
>
> res = mean(data(x:x+i,y:y+i))
> where x is a one-dimention array
>
> but subscritps must be scalars.
How about:

result = SMOOTH(data, i, /EDGE_TRUNCATE)

Ed
[Message index]
 
Read Message
Read Message
Previous Topic: Plot Title
Next Topic: Re: _extra and call_method

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

Current Time: Mon Dec 01 02:25:38 PST 2025

Total time taken to generate the page: 1.44677 seconds