I want to add five gaussian distributions at different points on x-axis
I try:
n=500;H1 = normrnd(14,5,n,1); % generate random numbers of normal distribution at mu and sigma
H2 = 24+ normrnd(14,5,n,1); % start from 24
H3 = 48+ normrnd(14,5,n,1);H4 = 72+ normrnd(14,5,n,1);H5 = 96+ normrnd(14,5,n,1);figurehhh = [H1 H2 H3 H4 H5];hist(hhh,130)
which produce a good figure as I need:
but I want to plot the total values of the intersected area. (I put a circle on them)
How I can sum them?
Best Answer