var
Variance
📝Syntax
V = var(M)
📥Input Arguments
Parameter Description
M a vector or matrix
📤Output Arguments
Parameter Description
V Variance of M.
📄Description

V = var(M) returns the variance of the elements of M along the first array dimension whose size does not equal 1.

💡Examples
M = [4 -7 3; 1 4 -2; 10 7 9];
V = var(M)
🔗See Also
covmean
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub