minidx Function

Returns index of the input array element with smallest magnitude.

Arguments

Number Type Compulsory Default Description
1 real/complex array Yes vector

Returns

Return type: real/complex array

Returns index to minimum input value