pdldoc conv1d

The simplest would be a boxcar average, e.g.

  conv1d $data, ones(11)/11

where I used an odd size for the filter kernel to
make the smoothing operation symmetric.  You
can use other kernels as well (gaussian, triangle,...)

A useful technique to find commands that might
be applicable is using the apropos command in
the pdl shell or the pdldoc -a.

  pdldoc -a word-to-search

That will give you a list of commands and their
short descriptions.

--Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to