std

Standard deviation

📝 Syntax

  • S = std(M)

📥 Input argument

  • M - a vector or matrix

📤 Output argument

  • S - Standard deviation of M.

📄 Description

S = std(M) returns the standard deviation of the elements of M along the first array dimension whose size does not equal 1.

💡 Example

M = [4 -7 3; 1 4 -2; 10 7 9];
S = std(M)

🔗 See also

var, mean.

🕔 History

Version
📄 Description

1.15.0

initial version

Last updated

Was this helpful?