V = var(M)
| Parameter | Description |
|---|---|
| M | a vector or matrix |
| Parameter | Description |
|---|---|
| V | Variance of M. |
V = var(M) returns the variance of the elements of M along the first array dimension whose size does not equal 1.
M = [4 -7 3; 1 4 -2; 10 7 9];
V = var(M)
| Version | Description |
|---|---|
| 1.0.0 | initial version |