In reply to naveensv:
The ‘+:’ is meant to be used when slicing a vector, not when specifying a range. The inside operator takes a range as an input, not a slice.
In reply to naveensv:
The ‘+:’ is meant to be used when slicing a vector, not when specifying a range. The inside operator takes a range as an input, not a slice.