Skip the curly braces when you use the range operator, 1:3 is what you want to use as 1:3 expands/evaluates to {1,2,3}.