The built-in max function has this functionality when two output arguments are specified: a = [1 2 999 3]; [the_max, index_of_max] = max(a) ...
確定! 回上一頁