MATLAB: How to find the maximum value to normalize the plot

max valuenormalization

Hi, I am a new learner of MATLAB. I am trying to write a code where the plot is symmetrical. I need to make it normalized and that's why I need to know the max value of the Y axis. Can anyone please help me to find the command to get the max Y value of the plot so that I can use it to normalize the graph? Thanks.

Best Answer

Read about function max. This gives you maximum value of the given data.