This repository has been archived on 2021-05-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
scientificComputing/statistics/code/gaussianbinsnorm.m

10 lines
150 B
Matlab

hn1 = h1/sum(h1)/db1;
hn2 = h2/sum(h2)/db2;
bar(b1, hn1)
hold on
bar(b2, hn2, 'facecolor', 'r' )
xlabel('x')
ylabel('Probability density')
hold off