stdΒΆ

std returns the standard deviation of its parameter.

rsSigma = std(rvVect)
rsSigma = std(rvVect, flag)

Return Value

rsSigma is the standard deviation of the vector rvVect.

Parameters

rvVect

rvVect is a real vector.

flag

If flag is set to 0, the data is normalized by n-1 (default); If flag is set to 1, the data is normalized by n;

Example

* std([5,6,12,24])
  8.7321

id-1488013