help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vectorized moving average?


From: Andy Buckle
Subject: Re: vectorized moving average?
Date: Thu, 6 May 2010 08:05:57 +0100

conv is also an m file, but it only has a few ifs in. then it calls
filter to get the job done. which is an oct file.

Andy

On Thu, May 6, 2010 at 6:28 AM, Tim Rueth <address@hidden> wrote:
> Does anyone know how to take an n-day weighted moving average of a vector
> without using a for-loop?  I looked at the M code for movavg() and it uses a
> for-loop, so I'm guessing there probably isn't a way, but I thought I'd
> check.  Thanks.
>
> --Tim
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>



-- 
/* andy buckle */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]