Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

std

MATLAB std function


Description

Computes the standard deviation of the values of x.

Usage

std(x, flag=0)

Arguments

x

numeric vector or matrix

flag

numeric scalar. If 0, selects unbiased algorithm. If 1, selects biased algorithm (currently unsupported).

Details

Simply invokes sd.

Value

Return value depends on argument x. If vector, returns the standard deviation. If matrix, returns vector containing the standard deviation of each column.

Author(s)

Examples

std(1:2) ^ 2

matlab

MATLAB emulation package

v1.0.2
Artistic-2.0
Authors
P. Roebuck
Initial release
2014-06-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.