Minimum in 2 dimension array

 

How can I get the minimum of the second dimension of the array ? 

This is my code and the error is " wrong dimension" in ventana[i-1] 

 Thanks ! 

   double ventana[9999][20];
   int ventanamin[9999];
    
   int dim=ArrayRange(ventana,0);

      for ( i=1; i<=dim;i++) {
      
      ventanamin[i-1]=ArrayMinimum(ventana[i-1]);
   
   }
   
 
ToMay:

 

How can I get the minimum of the second dimension of the array ? 

This is my code and the error is " wrong dimension" in ventana[i-1] 

Loop through the Array elements one by one,  save the value of the first element to a variable, check if the next value in the array is lower than the one saved in the variable,  if it is save this value to the variable,  repeat . . .
Reason: