I have a problem in programming a function to select minimum values which are stored in an array. The parameter of the min function are dynamic values.
For mow, I have an example on how to determine minimum value between 2 or 3 parameters. I need to create a function that can receive more than 3 parameters. I want to determine min value for each column in my two dimensional array as below.
1.00 0.00 2.83 4.24
5.00 4.24 1.41 0.00
3.65 0.71 2.34 4.61
4.30 0.00 0.50 3.20
3.21 3.54 1.00 4.53
The problem is to determine min value for each column.
Can anyone here give me some ideas how to do this?
Thanks in advance.