Let's say I have a 4×4 matrix A. I can then get the item in place [2,3] by typing A(2,3).
Now let's say I have an array I=[2,3]. I would like to be able to write something like A(I) to get the same result as above. How could I do that?
Thanks.
arrayindexMATLABmatrix
Best Answer