y = skewness(X)
y = skewness(X, flag)
y = skewness(X, flag, dim)
y = skewness(X, flag, vecdim)
y = skewness(X, flag, 'all')
skewness computes the sample skewness of numeric data. Missing numeric values are ignored.
flag is 1 by default. Set flag to 0 to apply the bias correction for sample skewness.
X = [1 2 5; 2 4 8; 3 8 13];
y = skewness(X)
| Version | Description |
|---|---|
| 2.0.0 | initial version |