# Plot two Histograms of different bin widths of Using MATLAB

Question

Please draw two histograms with respect to different bin widths by using the data hist.mat3.

a.The first histogram corresponds to evenly paced bin widths. The bin width is 10 and the first bin starts at 0. For example, you can use these bins: ([0, 10), [10,20),

[20,30),……, [90,100]).

b. The second histogram corresponds to unevenly paced bin widths. The bins are [0, 5), [5, 30), [30, 40), [40, 45), [45, 65), [65, 90), [90, 100].

You have to submit both of the MATLAB codes, which is a script _le with .m extension, and the plotted two histograms, which are eps figures with the .eps extension.

Summary

This question belongs to MATLAB software and discusses about application of MATLAB to probability and statistics and to plot two histograms with respect to different bin widths of given data.

• Rasha

this is a very good website

• maani

I have 50 questions for the same test your page is showing only 28

• joeanne

• joeanne

hi can anyone help or guide me to my assignments. thanks

• Monik

• Cristina

This solution is perfect ...thanks

• Janete

Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes

• Sandeep

Perfect bank of solution.

• Oxana

great !

• Paul Brandon-Fritzius

thanks for the quick response. the solution looks good. :)

• tina Johnson

thnx for the answer. it was perfect. just the way i wanted it.

• Giuseppe

works fine.