I want to combine several conditions to select row/columns from an array.
For a matrix A, I know that
A[:, [1,3]]
gives me the second and fourth column. Also,
A[:, :3]
works like a charm. However, I fail to combine the conditions:
A[:, [:3, 6, 7]]
But this gives me a syntax error. Can anyone tell me how to get this selection going?