Owning Palette: Array VIs and Functions
Requires: Base Development System
Returns the maximum and minimum values found in array, along with the indexes for each value.
The connector pane displays the default data types for this polymorphic function.
Add to the block diagram | Find on the palette |
The function compares each data type according to the rules for Array Comparison.
If a numeric array has one dimension, the max index and min index outputs are scalar integers. If a numeric array has more than one dimension, these outputs are 1D arrays that contain the indexes of the maximum and minimum values.
If the input array is empty, max index and min index are –1.