Karthik Agarwal

Karthik Agarwal

  • NA
  • 748
  • 265.5k

How to find the max value of group of arrays

Aug 25 2011 7:40 AM
Hi,

I have six arrays which is of float type. Any specific index in all these arrays represent set of values for me. Ex: if index is zero all the six arrays zeroth index represent a set of values, from which i need to find the max value. similarly for all other indexes.

array1  array2  array3  array4  array5  array6
0  0  0  0  0  0 
1  1  1  1  1    1
-------------------------------------so  on

i need to find out which is the max value of a specific index among all these arrays and should store it in another array or list

Answers (9)