Is there a function that takes an array A and a vector [v1 … vn] as inputs and returns A(v1,…,vn), provided A has `size' m1 x … x mn, and 1 ≤ vi ≤ mi for all i between 1 and n?
MATLAB: How to access array element from vector of its entries
arrayindexing
Related Question
- How can i do apply operator componentwice in any vector in N dimensional space? Mat lab code for any vector in N dimension
- How to seperate an array into two
- Finding elements of an arrays having specified index numbers
- How to implement fminunc for a function with a variable lenght vector input
- How to define norm of a vector as a symbolic function
Best Answer