Programmer Guide/Command Reference/EVAL/smooth: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
Contents
smooth
Linear smoothing. Apply linear smoothing to the vector x.
Usage:
smooth(x, 0 {, m, s})
Parameters:
- x
- A data vector.
- m
- The smooth length (m
>0
). The default is1
.
- s
- The sample distance (s
>0
). The default is1
.
Result:
A vector y
where:
y[i] = avr(
x[i*
s-
m .. i*
s+
m])