"someone" wrote in message <firstname.lastname@example.org>...
> % This sounds like you are trying to compute a "running average" of the vector. > % If so, see the Examples section of > > doc filter
It's not computing a running average. (Well... actually if I computed a running average with a window of 100, in this example, and _then_ pick one point out of 100 the result would be the same, numerically speaking. But the concept would be different.) Actually this was a simplified example for a more complex thing I have to program. What if the values in "t" were not uniformily spaced? Then the running average would not be appliable.
(and BTW... what would be the practical differences between using filter and using conv with an appropriate kernel?)