I have two data sets as attached with different number of realisations and i want to compare between them. So, I created their histograms to present their realisations over each other’s as in the figure. However, it is hard to see the difference as the number of frequencies is different. Anyway, to present this better; maybe normalising it. Not really sure!
load('NPV_1000.mat')load('NPV_10000.mat')x1 = NPV_1000;y1 = NPV_10000;figureh1 = histogram(x1);hold onh2 = histogram(y1);xlabel('NPV ($B)')ylabel('Frequency')legend('1,000','10,000')
Best Answer