How can I calculate the "Median" of floating point numbers
9 Ansichten (letzte 30 Tage)
Jim McIntyre am 9 Jun. 2023
I have three two-dimensional arrays containing floating point numbers. I would like to construct a two-dimensional array that contains the "median" or middle value (not the mean) of the three arrays.
For example, if one element of the arrays contained 4.81, 3.54, and 3.56, I'd like to return 3.56, which is the middle value.
How can I do that?