0

I need to create an array A whose columns are columns in another array B. The problem is that the columns I need are not consecutive, so I can't do something like:

A = B[:, 1:4]

How can I do this?

3
  • Well what are they? Every other column? Commented May 19, 2014 at 13:18
  • No, there is no pattern. I need columns 1-3, then 5. But I'm thinking that in general there must be a way to concatenate pieces of the array at least. Commented May 19, 2014 at 13:19
  • See the question in your link Commented May 19, 2014 at 13:20

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.