std

Version:

Returns the standard deviation of an array. This function works column-wise by default.

Syntax

y = std(x)
y = std(x, w)
y = std(x, w, d)

x

Scalar or array of any dimension.

Scalar.

d

Dimension of x across which to calculate the standard deviation. d can be in a range of 1 to the maximum supported array dimension (32). If you do not specify d, the function works with the first dimension whose size is not equal to 1.

y

Standard deviation of x. y is a scalar or an array.

X = [1, 2, 3, 4, 5, 6; 2, 4, 6, 8, 10, 12]
Y = std(X)

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported