Maybe this code can help you: function mse x = linspace(0,10,100); y = sin(x)+x-(x/5).^2; hold off plot(x,y) yMax = max(y); xMax = x(find(y==yMax)); hold on ...
確定! 回上一頁