Question: what does minmax do in matlab?
Answer: Description. The MinMax block outputs either the minimum or the maximum element or elements of the inputs. You choose whether the block outputs the minimum or maximum values by setting the Function parameter. The MinMax block ignores any input value that is NaN , except when every input value is NaN .