maxidx Function

Returns index of the input array element with largest magnitude.

Arguments

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

Returns

Return type: real/complex array

Returns index to maximum input value