Draw Histogram using Matlab functions