## How to select vector with the greatest nth element

In MATLAB, given to vectors A and B, I want to find a vectorized solution to select the entire vector with the greatest nth element (i.e. 4th).
A = [1, 4, 8, 10];
B = [2, 15, 2, 11];
Using max I can find the greatest 4th element between both vect...

more
»