並前往https://stackoverflow.com/questions/13531009/how-can-i-find-the-maximum-value-and-its-index-in-array-in-matlab