y = var(ts)
| Parameter | Description |
|---|---|
| ts | Input timeseries object. |
| Parameter | Description |
|---|---|
| y | Variance of the timeseries data. |
var Computes the variance of the Data property.
ts = timeseries([1; 2; 3]);
var(ts)
| Version | Description |
|---|---|
| 2.0.0 | initial version |