Histogram

A histogram is a graphical representation of a numerical distribution, showing the shape of a distribution. It consists of adjacent rectangles (bins), whose bases are aligned on an axis oriented and equipped with a unit of measure (the axis assumes the unit of measure of the character and can be safely understood as the X axis). The adjacency of the rectangles reflects the continuity of the character. Each rectangle has a base length equal to the width of the corresponding class; the height is calculated as a frequency density, so it is equal to the ratio between the frequencies (absolute) associated with the class and the amplitude of the class.

In the MATLAB environment, it is possible to create histograms with the histogram() ...

Get MATLAB for Machine Learning now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.