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

Home » Public Forums » archive » Re: SMOOTH not smoothing...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: SMOOTH not smoothing... [message #83870] Thu, 11 April 2013 07:20
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
> What do you think a boxcar smoothing algorithm is suppose to do?

Ohhh... Hahaha. That is funny. I guess exactly what it is doing now :-p
Re: SMOOTH not smoothing... [message #83871 is a reply to message #83870] Thu, 11 April 2013 07:15 Go to previous message
dplatten is currently offline  dplatten
Messages: 32
Registered: December 2007
Member
Hi Matthew,

You might find this to be a little more reassuring:

a = RANDOMU(5L, 10)
print, a
print, SMOOTH(a, 3)

Your original array was already perfectly smooth, so SMOOTH had no effect.

Regards,

David
Re: SMOOTH not smoothing... [message #83873 is a reply to message #83871] Thu, 11 April 2013 06:57 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matthew Argall writes:

> The SMOOTH function does not seem to be smoothing anything for me. Am I missing something?
>
> IDL> print, smooth(findgen(10), 3)
> 0.00000 1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 8.00000 9.00000

What do you think a boxcar smoothing algorithm is suppose to do?

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: object serialization in IDL?
Next Topic: replacing "NAN" values using interpolation in IDL

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

Current Time: Wed Oct 08 17:00:43 PDT 2025

Total time taken to generate the page: 0.00436 seconds