一维数组 a = [1,2,3,4,5] res = max(a) 二维数组 A = res = max(max(A)) [row col] = find(res == A) 睡眠函数 pause(10) % 10s