This a math/matlab question
I have a data set of angles ranging from -180 to 180
I then make a histogram of the data set using the code
histogram(angles)
I want to use the probabilities from the histogram for another plot for the equation
ln(probabilty of angle) = constant(angle) + constant
The problem is that I don't know how to get the values for probabilities for the angles from -180 to 180 from the histogram.
I've read that I need to normalize my histogram but from there I am not sure what to do
Thanks