FUNCTION REFERENCE

movstd

Moving standard deviation.

Moving standard deviation.

Syntax

y = movstd(A, k[, 0|1][, dim][, nanflag][, 'Endpoints', e])

Accepts real double, single and logical data; single results retain their class.

A scalar k centers each window, with one extra sample behind for even k. [kb kf] specifies the samples before and after. The default dimension is the first nonsingleton dimension. The default NaN policy is includenan; omitnan and includenan are accepted. Endpoints may be shrink (default), discard, fill, or a scalar. Standard deviation and variance use sample normalization (0); 1 selects population normalization.

Example

movstd([1 3 5], 3)   % [1.4142 2.0000 1.4142]

Differences from MATLAB: Complex data, SamplePoints and dimensions above 2 are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.