How show the max value in a gaussian function with histfit
Show older comments
Hi, I'm trying to show in the matlab plot the max value for each histfit gaussian function.
I have two gaussian fuction to plot in one graph and I want to show in the plot the max value of the function and on x-axies.
G1(2).max=maxG1
[maxG1, index] = G1max;
x1=x1(index);
I'm not sure about this part of code beacuse the index extrapolation dosn't function.
Could someone explane me how to extract the max value of hostfiit or another way to plot the gaussian fuction by my data in the excel work with an interpolation?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!