dseries sub-sample selection with vector of observation indices.
If ds = dseries(transpose(1:5))
then ds(2:3)
wrongly returns a matlab's structure:
ans =
data: [2x1 double]
nobs: 2
vobs: 1
freq: 1
dates: [2 dates]
init: [1 dates]
name: {'Variable_1'}
tex: {'Variable\_1'}
while it should be a dseries
object.