Hi, how can I find the coordinate on the x-axis associated with the highest (maximunm) value of y of the function?
x=[-10:0.02:10]y=exp(-(x-1).^2./2)+3.*exp(-(x-2).^2./2)plot(x,y)
Can someone help me to fine the point of x associated with the max of y?
Thank you!
Best Answer