並前往https://www.mathworks.com/matlabcentral/answers/244615-using-the-max-function-to-recieve-two-outputs