Karina,
The result from the histogram function is returned in the form of a PDM. The domain of the PDM corresponds to the limits of the bins. You can extract the domain of the pdm using the function domain.
data=random(100,100);
hist=histogram(data)
bins=domain(hist)
I assume that classes and bins refer to the same thing.
Carl L
National Instruments