I am looking for a simple method to take a 2xn matrix and product a vector where each element in the vector is the minimum value for each row in the 2xn matrix
a=[ 1 4, 3 2, 5 6]
// the final result needs to be
[1, 2, 5]
Looping through matrix "a" can easily do this, but......I am hoping someone out there is more fluent in matrices that may have a more efficient solution