How can I find the maximum value and its index in array in MATLAB? ... [val, idx] = max(a);. val is the maximum value and idx is its index. ... I is the index of A ...
確定! 回上一頁