From: Tom Lane on 24 May 2010 09:48 > I calculated power (S(:,1:49152)) over a specific frequency range.Then I > used [y,x]=hist((S(1,1:49152)),200) to divide the power of the first > frequency into 200 equally sized bins, so I have the pdf (plot(x,y)).I > need to draw the power-likelihood distribution in the given frequency. So, > in order to calculate y-axis(that is the likelihood) what I did is to > divide the number of observations in each one of the 200 bins with the > total number of observations which is 49152. Naimead, it sounds like you are just looking for a proper density (one that integrates to one). In that case you should divide by the product of the number of observations and the bin width. -- Tom |