Great, thank you very much, it is indeed working as expected!

On Tuesday, June 10, 2014 3:52:50 PM UTC+2, Gunnar Farnebäck wrote:
>
> You can do B[E[:],:] or better write E as a vector (rather than a 1x10 
> array) directly:
> E = [5, 5, 5, 4, 5, 5, 5, 5, 1, 5]
> Then B[E,:] works as expected.
>







 

Reply via email to