Get the value of an array from another array in Matlab

You can post your problem related to MATLAB Projects here. We will try our best to help you out.
Post Reply
Charles
Posts: 20
Joined: Sat Feb 18, 2017 7:12 am

Get the value of an array from another array in Matlab

Post by Charles » Mon Mar 06, 2017 12:19 pm

I have an array A 20x1 double and another array B which is 1000x1 double. I want to set array C where array C will be 1000x1 double where the first value in it is equal to the C[1] = A[B[1]] and so on like C = A[B] how this can be done?

Post Reply