smooth

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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 is 1.
s
The sample distance (s>0). The default is 1.
Result:

A vector y where:

y[i] = avr(x[i*s-m .. i*s+m])

Navigation menu

Personal tools