MATLAB: How to find peak value in graph like normal distribution graphnormal distribution I drew a graph like a normal distribution. I want to know the data value of the highest part of the graph. Is there any code to do this? Best Answer The max function would likely do what you want. Related SolutionsMATLAB: How to make the number on yaxis of a histfit plot to a probability The easiest way is just to recalculate the 'YTickLabel' values, if you only wnat to normalise the y-axis:r = normrnd(10,1,100,1);figure(1)histfit(r)yt = get(gca, 'YTick');set(gca, 'YTick', yt, 'YTickLabel', yt/numel(r)) MATLAB: Displaying the level curve of a probability density function mvnpdf Related QuestionIsa probability distributionCalculating PDF from data setPlot the empirical probablility
Best Answer